drivers: wifi: enable compressed TX power table for IW416 and IW612 - #808
Merged
zejiang0jason merged 3 commits intoSep 18, 2026
Merged
zejiang0jason merged 3 commits into
zejiang0jason merged 3 commits into
Conversation
|
|
||
| zephyr_compile_definitions_ifdef(CONFIG_NXP_IW61X | ||
| SD9177 | ||
| WIFI_BT_TX_PWR_LIMITS="wlan_txpwrlimit_cfg_murata_2EL_WW.h" |
Contributor
There was a problem hiding this comment.
Please add logic such that it first checks the board typrthan based on it select the respective tx pwr file. As for IW61X we have SoCs from Murata, u-blox, QUECTEL etc. Same for IW416.
sanjay-yadav-nxp
force-pushed
the
gaofeng_master_dynamic_txpwr
branch
2 times, most recently
from
September 9, 2026 12:07
68b2fc5 to
c8b440e
Compare
MaochenWang1
approved these changes
Sep 15, 2026
sanjay-yadav-nxp
approved these changes
Sep 15, 2026
Collaborator
|
Hi @mmahadevan108 @zejiang0jason please review and merge |
NXP_WIFI_COMPRESS_TX_PWTBL was not selectable for IW416, so IW416 kept using the legacy per-channel TRPC tx power tables. Add NXP_IW416 to the if block and to its depends on, and give NXP_WIFI_CLOCKSYNC an explicit depends on so it stays disabled for IW416. Also drop the NXP_IW416_REGION and NXP_IW61X_REGION choices. The driver now selects the region table at runtime from the country code, and one WW header already carries the WW, JP, US, EU and CA tables, so the per-region headers are redundant. The header is selected per chip in the wifi_nxp CMakeLists instead, as RW610 already does. Signed-off-by: Gaofeng Zhang <gaofeng.zhang@nxp.com>
GaofengZhangNXP
force-pushed
the
gaofeng_master_dynamic_txpwr
branch
from
September 17, 2026 06:28
f8ee5c1 to
4c18720
Compare
Several IW416 and IW61X modules did not define WIFI_BT_TX_PWR_LIMITS, so wlan_txpwrlimit_cfg.c fell through to its "Region tx power config not defined" error unless the application supplied an override. The u-blox and Quectel tables were also unreachable because only the AzureWave and Murata tx_pwr_limits directories were on the include path. Add the per module table for the AzureWave AM457/AM510 modules, which share the common WW table, and for Murata 1XK uSD, 2EL uSD and 2DL. The 2DL modules reuse the 2EL table as there is no 2DL specific table, and both follow wifi_bt_module_config.h. Add the u-blox MAYA-W1, MAYA-W276 and JODY-W5 modules and the Quectel FGS060N module, with their interface, ED offset and board macros taken from the matching wifi_bt_module_config.h entries, and put the u-blox and Quectel tx_pwr_limits directories on the include path so their headers resolve. Signed-off-by: Sanjay Yadav <sanjay.yadav@nxp.com>
update rb3+ compress tx power limit table for AzureWave The JODY-W5 table also named its world wide RU power table rutxpowerlimit_cfg_set, while ru_power_cfg_info in wlan_txpwrlimit_cfg.c and every other IW61X table use the _WW suffix, so the compressed RU path did not build for that module. Rename it to rutxpowerlimit_cfg_set_WW. Signed-off-by: Sanjay Yadav <sanjay.yadav@nxp.com>
zejiang0jason
approved these changes
Sep 18, 2026
zejiang0jason
approved these changes
Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NXP_WIFI_COMPRESS_TX_PWTBL was not selectable for IW416, so IW416 kept using the legacy per-channel TRPC tx power tables. Add NXP_IW416 to the if block and to its depends on, and give NXP_WIFI_CLOCKSYNC an explicit depends on so it stays disabled for IW416.
Also drop the NXP_IW416_REGION and NXP_IW61X_REGION choices. The driver now selects the region table at runtime from the country code, and one WW header already carries the WW, JP, US, EU and CA tables, so the per-region headers are redundant. The header is selected per chip in the wifi_nxp CMakeLists instead, as RW610 already does.