Commit 1748a467 authored by David Girault's avatar David Girault Committed by Victor Liu
Browse files

kernel/drivers/net: implement preamble code interface change, refs UWB-1125



mac/fira: use channel and preamble code from session parameters, refs UWB-1125
-    If specified, use the channel and preamble code from the session
    parameters, else use the current PIB parameters.
-    FiRa interface change:
-    Now channel and preamble code session parameters are used to setup the
    radio, they were previously only used for crypto.
-    Also if not set, the real values are taken from the current driver
    setting. Previously, they have to be set manually or else 0 was used,
    which was not valid.
mac: allow setting channel parameters for multiple frame accesses, refs UWB-1125
-    When a specific channel (page, channel and preamble code) is requested
    for an access, set it at access start and restore channel after the
    access.
-    LLHW interface change:
-    UWB drivers should set llhw->current_preamble_code before registration
    to the default preamble code index for this device.
-    MCPS no longer calls set_channel with a zero preamble code, it uses the
    value set in llhw->current_preamble_code.
-    MCPS can now call set_channel when the device is started. In this case,
    the new channel parameters should be set so that they are used for the
    following transmissions and receptions. Special care should be taken by
    the driver to avoid any significant clock discontinuity.
-    When only preamble code is changed, the driver can be optimized to avoid
    costly operations done on channel change.
dw3000: update set_channel() callback, refs UWB-1880
- Ensure only pcode is changed if channel stay the same
- Support reconfigure during wakeup
- Move calib update in dw3000_configure_chan_ctrl()

BUG: 196395783
Change-Id: Ic5664cf64c15df6d4f2e6abd03042f682ab01f00
Signed-off-by: default avatarJean-Michel RIOT <jean-michel.riot@qorvo.com>
parent 7dafc0c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment