|
@@ -769,7 +769,7 @@ static long _rtl92c_signal_scale_mapping(struct ieee80211_hw *hw,
|
|
|
|
|
|
|
|
static void _rtl92c_query_rxphystatus(struct ieee80211_hw *hw,
|
|
static void _rtl92c_query_rxphystatus(struct ieee80211_hw *hw,
|
|
|
struct rtl_stats *pstats,
|
|
struct rtl_stats *pstats,
|
|
|
- struct rx_desc_92c *pdesc,
|
|
|
|
|
|
|
+ struct rx_desc_92c *p_desc,
|
|
|
struct rx_fwinfo_92c *p_drvinfo,
|
|
struct rx_fwinfo_92c *p_drvinfo,
|
|
|
bool packet_match_bssid,
|
|
bool packet_match_bssid,
|
|
|
bool packet_toself,
|
|
bool packet_toself,
|
|
@@ -784,11 +784,11 @@ static void _rtl92c_query_rxphystatus(struct ieee80211_hw *hw,
|
|
|
u32 rssi, total_rssi = 0;
|
|
u32 rssi, total_rssi = 0;
|
|
|
bool in_powersavemode = false;
|
|
bool in_powersavemode = false;
|
|
|
bool is_cck_rate;
|
|
bool is_cck_rate;
|
|
|
|
|
+ u8 *pdesc = (u8 *)p_desc;
|
|
|
|
|
|
|
|
- is_cck_rate = RX_HAL_IS_CCK_RATE(pdesc);
|
|
|
|
|
|
|
+ is_cck_rate = RX_HAL_IS_CCK_RATE(p_desc);
|
|
|
pstats->packet_matchbssid = packet_match_bssid;
|
|
pstats->packet_matchbssid = packet_match_bssid;
|
|
|
pstats->packet_toself = packet_toself;
|
|
pstats->packet_toself = packet_toself;
|
|
|
- pstats->is_cck = is_cck_rate;
|
|
|
|
|
pstats->packet_beacon = packet_beacon;
|
|
pstats->packet_beacon = packet_beacon;
|
|
|
pstats->is_cck = is_cck_rate;
|
|
pstats->is_cck = is_cck_rate;
|
|
|
pstats->RX_SIGQ[0] = -1;
|
|
pstats->RX_SIGQ[0] = -1;
|