Commit 48d11dc3 authored by Jahnavi Meher's avatar Jahnavi Meher Committed by John W. Linville

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

Signed-off-by: default avatarJahnavi Meher <jahnavi.meher@redpinesignals.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c83a4e51
...@@ -1083,7 +1083,7 @@ void rsi_inform_bss_status(struct rsi_common *common, ...@@ -1083,7 +1083,7 @@ void rsi_inform_bss_status(struct rsi_common *common,
{ {
if (status) { if (status) {
rsi_hal_send_sta_notify_frame(common, rsi_hal_send_sta_notify_frame(common,
NL80211_IFTYPE_STATION, RSI_IFTYPE_STATION,
STA_CONNECTED, STA_CONNECTED,
bssid, bssid,
qos_enable, qos_enable,
...@@ -1092,7 +1092,7 @@ void rsi_inform_bss_status(struct rsi_common *common, ...@@ -1092,7 +1092,7 @@ void rsi_inform_bss_status(struct rsi_common *common,
rsi_send_auto_rate_request(common); rsi_send_auto_rate_request(common);
} else { } else {
rsi_hal_send_sta_notify_frame(common, rsi_hal_send_sta_notify_frame(common,
NL80211_IFTYPE_STATION, RSI_IFTYPE_STATION,
STA_DISCONNECTED, STA_DISCONNECTED,
bssid, bssid,
qos_enable, qos_enable,
......
...@@ -73,6 +73,7 @@ ...@@ -73,6 +73,7 @@
#define RX_BA_INDICATION 1 #define RX_BA_INDICATION 1
#define RSI_TBL_SZ 40 #define RSI_TBL_SZ 40
#define MAX_RETRIES 8 #define MAX_RETRIES 8
#define RSI_IFTYPE_STATION 0
#define STD_RATE_MCS7 0x07 #define STD_RATE_MCS7 0x07
#define STD_RATE_MCS6 0x06 #define STD_RATE_MCS6 0x06
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment