Third round of the RTW88 USB bug fixes. After some discussion and thinking I came to the conclusion that the v1 variant of "wifi: rtw88: rtw8821c: Fix rfe_option field width" is better than the one posted in v2, so I reverted back to this version, but added a note to the commit message why this might not be entirely correct for all chip variants (though for all variants currently supported in the driver). The patches are sorted in order of importance. 1/4 hasn't seen any negative comments and I think it should be applied right now. As stated above I think 2/4 should be applied as well. 3/4 fixes something I stumbled upon while reading in the vendor driver, but I don't what effect it actually has, I didn't notice any change in behaviour of the driver. 4/4 straightens the logic how rtw8821c_switch_rf_set() is called for different variants of the rtw8821c. This is taken from the vendor driver. From the supported chip variants this should only have an effect on the ones with rfe_option = 6, but I don't have that one available here for testing. I would be glad if at least 1/4 and 2/4 could be applied as these fix real issues in the driver. Sascha Sascha Hauer (4): wifi: rtw88: usb: fix priority queue to endpoint mapping wifi: rtw88: rtw8821c: Fix rfe_option field width wifi: rtw88: set pkg_type correctly for specific rtw8821c variants wifi: rtw88: call rtw8821c_switch_rf_set() according to chip variant drivers/net/wireless/realtek/rtw88/main.c | 2 +- drivers/net/wireless/realtek/rtw88/main.h | 2 + drivers/net/wireless/realtek/rtw88/rtw8821c.c | 25 +++++-- drivers/net/wireless/realtek/rtw88/usb.c | 70 +++++++++++++------ 4 files changed, 69 insertions(+), 30 deletions(-) -- 2.39.2