rsi: Changing opcode for sta mode according to changes in firmware

Signed-off-by: Jahnavi Meher <jahnavi.meher@redpinesignals.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Jahnavi Meher 2014-04-29 01:03:53 +05:30 committed by John W. Linville
parent c83a4e5156
commit 48d11dc379
2 changed files with 3 additions and 2 deletions

View File

@ -1083,7 +1083,7 @@ void rsi_inform_bss_status(struct rsi_common *common,
{
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_common *common,
rsi_send_auto_rate_request(common);
} else {
rsi_hal_send_sta_notify_frame(common,
NL80211_IFTYPE_STATION,
RSI_IFTYPE_STATION,
STA_DISCONNECTED,
bssid,
qos_enable,

View File

@ -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