From: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> This patch set updates the power index setting routine for rtw88. The first commit "rtw88: resolve order of tx power setting routines" is to reorder the functions to not to expose some functions used internally. The following commits: "rtw88: do not use (void *) as argument" "rtw88: unify prefixes for tx power setting routine" "rtw88: remove unused variable" are minor refinements to make the routine look better. The following commits: "rtw88: fix incorrect tx power limit at 5G" "rtw88: choose the lowest as world-wide power limit" "rtw88: correct power limit selection" "rtw88: update tx power limit table to RF v20" "rtw88: remove all RTW_MAX_POWER_INDEX macro" are fixes to get correct tx power index, also update the power limit table to the latest. The following commits: "rtw88: refine flow to get tx power index" "rtw88: debug: dump tx power indexes in use" add a debugfs entry to dump power index by rate, by limit and by base. This is useful for us to check if correct power indexes are used. Tzu-En Huang (1): rtw88: remove all RTW_MAX_POWER_INDEX macro Yan-Hsuan Chuang (6): rtw88: resolve order of tx power setting routines rtw88: do not use (void *) as argument rtw88: unify prefixes for tx power setting routine rtw88: remove unused variable rtw88: fix incorrect tx power limit at 5G rtw88: choose the lowest as world-wide power limit Zong-Zhe Yang (4): rtw88: correct power limit selection rtw88: update tx power limit table to RF v20 rtw88: refine flow to get tx power index rtw88: debug: dump tx power indexes in use drivers/net/wireless/realtek/rtw88/debug.c | 112 ++ drivers/net/wireless/realtek/rtw88/main.c | 26 +- drivers/net/wireless/realtek/rtw88/main.h | 27 +- drivers/net/wireless/realtek/rtw88/phy.c | 1298 +++++++++++--------- drivers/net/wireless/realtek/rtw88/phy.h | 18 +- drivers/net/wireless/realtek/rtw88/regd.c | 69 +- drivers/net/wireless/realtek/rtw88/regd.h | 4 + .../net/wireless/realtek/rtw88/rtw8822c_table.c | 799 +++++++++++- 8 files changed, 1653 insertions(+), 700 deletions(-) -- 2.7.4