Revert "wifi: rtw88: 8822c: Fix reported RX band width"
This reverts commit 3240476a5b
.
This commit is contained in:
parent
a672f093cd
commit
7948f1fe22
1 changed files with 4 additions and 6 deletions
|
@ -1813,14 +1813,12 @@ static void query_phy_status_page1(struct rtw_dev *rtwdev, u8 *phy_status,
|
|||
else
|
||||
rxsc = GET_PHY_STAT_P1_HT_RXSC(phy_status);
|
||||
|
||||
if (rxsc == 0)
|
||||
bw = rtwdev->hal.current_band_width;
|
||||
else if (rxsc >= 1 && rxsc <= 8)
|
||||
bw = RTW_CHANNEL_WIDTH_20;
|
||||
else if (rxsc >= 9 && rxsc <= 12)
|
||||
if (rxsc >= 9 && rxsc <= 12)
|
||||
bw = RTW_CHANNEL_WIDTH_40;
|
||||
else
|
||||
else if (rxsc >= 13)
|
||||
bw = RTW_CHANNEL_WIDTH_80;
|
||||
else
|
||||
bw = RTW_CHANNEL_WIDTH_20;
|
||||
|
||||
pkt_stat->rx_power[RF_PATH_A] = GET_PHY_STAT_P1_PWDB_A(phy_status) - 110;
|
||||
pkt_stat->rx_power[RF_PATH_B] = GET_PHY_STAT_P1_PWDB_B(phy_status) - 110;
|
||||
|
|
Loading…
Reference in a new issue