rsi: Changing opcode for sta mode according to changes in firmware
PATCH 1/1 rsi: Changing opcode for sta mode according to changes in firmware
From: Jahnavi Meher <[email protected]>
Signed-off-by Jahnavi Meher <[email protected]>
---
rsi_91x_mgmt.c | 4 ++-- rsi_mgmt.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-)
linux-3.15-rc3/drivers/net/wireless/rsi/rsi_91x_mgmt.c +2 -2
@@ -1083,7 +1083,7 @@ void rsi_inform_bss_status(struct rsi_co {if (status) { rsi_hal_send_sta_notify_frame(common, - NL80211_IFTYPE_STATION, + RSI_IFTYPE_STATION, STA_CONNECTED, bssid, qos_enable,
@@ -1092,7 +1092,7 @@ void rsi_inform_bss_status(struct rsi_corsi_send_auto_rate_request (common); }else { rsi_hal_send_sta_notify_frame(common, - NL80211_IFTYPE_STATION, + RSI_IFTYPE_STATION, STA_DISCONNECTED, bssid, qos_enable,
linux-3.15-rc3/drivers/net/wireless/rsi/rsi_mgmt.h +1 -0
@@ -73,6 +73,7 @@#define RX_BA_INDICATION 1#define RSI_TBL_SZ 40#define MAX_RETRIES 8 +#define RSI_IFTYPE_STATION 0#define STD_RATE_MCS7 0x07#define STD_RATE_MCS6 0x06