Skip to content

Commit

Permalink
rsi: Changing opcode for sta mode according to changes in firmware
Browse files Browse the repository at this point in the history
Signed-off-by: Jahnavi Meher <jahnavi.meher@redpinesignals.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Jahnavi Meher authored and John W. Linville committed Apr 30, 2014
1 parent c83a4e5 commit 48d11dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/rsi/rsi_91x_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/net/wireless/rsi/rsi_mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 48d11dc

Please sign in to comment.