-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers/at86rf215: implement MR-O-QPSK #13912
Conversation
This adds PHY modes for IEEE 802.15.4-2003 and IEEE 802.15.4g-2012.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial comments, for now I'm not looking at ed953fe since there was another PR adding it that sparked some controversy.
I've played around with sending packets with different configurations and everything is working. |
4d2dd08
to
49535fe
Compare
My change requests have been addressed, I currently only have access to 1
@benpicco could you provide some test output for |
|
@benpicco please squash! |
Define options for IEEE 802.15.4g MR-O-QPSK as well as shell commands to set them via ifconfig.
All option have a space behind them. This fixes the formatting of the NID parameter if there are options after it.
IEEE 802.15.4g-2012 specifies a PDU of 2047 for it's PHY modes, so query the driver for the mode before returning the PDU. If none of the new modes is used, don't query the driver to not incure a penalty on existing platforms.
32d5694
to
6ce0092
Compare
I also printed the size of the TX frame to check if GNRC correctly picks up the larger PDU:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK, my change rquests have been addressed. I did some initial testing at the start of the review when I had the required HW, @benpicco provided test output again at the end of the review process. I also tested that default configuration was still working.
Thank you for the review! I'll try to add MR-OFDM and MR-FSK soon |
Contribution description
This adds MR-O-QPSK modulation to the
at86rf215
driver.This also adds new commands to
ifconfig
to configure the new modulation parameters.Testing procedure
Switch to the new PHY mode with
ifconfig 7 set phy_mode mr-o-qpsk
. Note that theL2-PDU
has changed to 2022 bytes (802.15.4g can send 2047 byte frames).You can now change the rate mode with
ifconfig 7 set rate_mode 3
(range: 0…4) and the chip rate withifconfig 7 set chips 1000
(possible values: 100, 200, 1000 & 2000 chip/s)Issues/PRs references
split off #12128 but now the timings should be correct.