diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index c2d0ab146af5..1b3cfc821940 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -115,8 +115,6 @@ enum { | |||
115 | #define MWIFIEX_TYPE_DATA 0 | 115 | #define MWIFIEX_TYPE_DATA 0 |
116 | #define MWIFIEX_TYPE_EVENT 3 | 116 | #define MWIFIEX_TYPE_EVENT 3 |
117 | 117 | ||
118 | #define DBG_CMD_NUM 5 | ||
119 | |||
120 | #define MAX_BITMAP_RATES_SIZE 10 | 118 | #define MAX_BITMAP_RATES_SIZE 10 |
121 | 119 | ||
122 | #define MAX_CHANNEL_BAND_BG 14 | 120 | #define MAX_CHANNEL_BAND_BG 14 |
@@ -373,7 +371,6 @@ struct wps { | |||
373 | struct mwifiex_roc_cfg { | 371 | struct mwifiex_roc_cfg { |
374 | u64 cookie; | 372 | u64 cookie; |
375 | struct ieee80211_channel chan; | 373 | struct ieee80211_channel chan; |
376 | enum nl80211_channel_type chan_type; | ||
377 | }; | 374 | }; |
378 | 375 | ||
379 | struct mwifiex_adapter; | 376 | struct mwifiex_adapter; |
@@ -442,6 +439,7 @@ struct mwifiex_private { | |||
442 | u8 wmm_enabled; | 439 | u8 wmm_enabled; |
443 | u8 wmm_qosinfo; | 440 | u8 wmm_qosinfo; |
444 | struct mwifiex_wmm_desc wmm; | 441 | struct mwifiex_wmm_desc wmm; |
442 | atomic_t wmm_tx_pending[IEEE80211_NUM_ACS]; | ||
445 | struct list_head sta_list; | 443 | struct list_head sta_list; |
446 | /* spin lock for associated station list */ | 444 | /* spin lock for associated station list */ |
447 | spinlock_t sta_list_spinlock; | 445 | spinlock_t sta_list_spinlock; |
@@ -484,7 +482,6 @@ struct mwifiex_private { | |||
484 | u8 nick_name[16]; | 482 | u8 nick_name[16]; |
485 | u16 current_key_index; | 483 | u16 current_key_index; |
486 | struct semaphore async_sem; | 484 | struct semaphore async_sem; |
487 | u8 scan_pending_on_block; | ||
488 | u8 report_scan_result; | 485 | u8 report_scan_result; |
489 | struct cfg80211_scan_request *scan_request; | 486 | struct cfg80211_scan_request *scan_request; |
490 | struct mwifiex_user_scan_cfg *user_scan_cfg; | 487 | struct mwifiex_user_scan_cfg *user_scan_cfg; |
@@ -603,6 +600,7 @@ struct mwifiex_if_ops { | |||
603 | int (*event_complete) (struct mwifiex_adapter *, struct sk_buff *); | 600 | int (*event_complete) (struct mwifiex_adapter *, struct sk_buff *); |
604 | int (*data_complete) (struct mwifiex_adapter *, struct sk_buff *); | 601 | int (*data_complete) (struct mwifiex_adapter *, struct sk_buff *); |
605 | int (*dnld_fw) (struct mwifiex_adapter *, struct mwifiex_fw_image *); | 602 | int (*dnld_fw) (struct mwifiex_adapter *, struct mwifiex_fw_image *); |
603 | void (*card_reset) (struct mwifiex_adapter *); | ||
606 | }; | 604 | }; |
607 | 605 | ||
608 | struct mwifiex_adapter { | 606 | struct mwifiex_adapter { |
@@ -750,9 +748,9 @@ int mwifiex_shutdown_fw_complete(struct mwifiex_adapter *adapter); | |||
750 | 748 | ||
751 | int mwifiex_dnld_fw(struct mwifiex_adapter *, struct mwifiex_fw_image *); | 749 | int mwifiex_dnld_fw(struct mwifiex_adapter *, struct mwifiex_fw_image *); |
752 | 750 | ||
753 | int mwifiex_recv_packet(struct mwifiex_adapter *, struct sk_buff *skb); | 751 | int mwifiex_recv_packet(struct mwifiex_private *priv, struct sk_buff *skb); |
754 | 752 | ||
755 | int mwifiex_process_mgmt_packet(struct mwifiex_adapter *adapter, | 753 | int mwifiex_process_mgmt_packet(struct mwifiex_private *priv, |
756 | struct sk_buff *skb); | 754 | struct sk_buff *skb); |
757 | 755 | ||
758 | int mwifiex_process_event(struct mwifiex_adapter *adapter); | 756 | int mwifiex_process_event(struct mwifiex_adapter *adapter); |
@@ -791,7 +789,7 @@ int mwifiex_process_tx(struct mwifiex_private *priv, struct sk_buff *skb, | |||
791 | struct mwifiex_tx_param *tx_param); | 789 | struct mwifiex_tx_param *tx_param); |
792 | int mwifiex_send_null_packet(struct mwifiex_private *priv, u8 flags); | 790 | int mwifiex_send_null_packet(struct mwifiex_private *priv, u8 flags); |
793 | int mwifiex_write_data_complete(struct mwifiex_adapter *adapter, | 791 | int mwifiex_write_data_complete(struct mwifiex_adapter *adapter, |
794 | struct sk_buff *skb, int status); | 792 | struct sk_buff *skb, int aggr, int status); |
795 | void mwifiex_clean_txrx(struct mwifiex_private *priv); | 793 | void mwifiex_clean_txrx(struct mwifiex_private *priv); |
796 | u8 mwifiex_check_last_packet_indication(struct mwifiex_private *priv); | 794 | u8 mwifiex_check_last_packet_indication(struct mwifiex_private *priv); |
797 | void mwifiex_check_ps_cond(struct mwifiex_adapter *adapter); | 795 | void mwifiex_check_ps_cond(struct mwifiex_adapter *adapter); |
@@ -809,7 +807,7 @@ void mwifiex_hs_activated_event(struct mwifiex_private *priv, | |||
809 | u8 activated); | 807 | u8 activated); |
810 | int mwifiex_ret_802_11_hs_cfg(struct mwifiex_private *priv, | 808 | int mwifiex_ret_802_11_hs_cfg(struct mwifiex_private *priv, |
811 | struct host_cmd_ds_command *resp); | 809 | struct host_cmd_ds_command *resp); |
812 | int mwifiex_process_rx_packet(struct mwifiex_adapter *adapter, | 810 | int mwifiex_process_rx_packet(struct mwifiex_private *priv, |
813 | struct sk_buff *skb); | 811 | struct sk_buff *skb); |
814 | int mwifiex_sta_prepare_cmd(struct mwifiex_private *, uint16_t cmd_no, | 812 | int mwifiex_sta_prepare_cmd(struct mwifiex_private *, uint16_t cmd_no, |
815 | u16 cmd_action, u32 cmd_oid, | 813 | u16 cmd_action, u32 cmd_oid, |
@@ -819,9 +817,9 @@ int mwifiex_uap_prepare_cmd(struct mwifiex_private *priv, uint16_t cmd_no, | |||
819 | void *data_buf, void *cmd_buf); | 817 | void *data_buf, void *cmd_buf); |
820 | int mwifiex_process_sta_cmdresp(struct mwifiex_private *, u16 cmdresp_no, | 818 | int mwifiex_process_sta_cmdresp(struct mwifiex_private *, u16 cmdresp_no, |
821 | struct host_cmd_ds_command *resp); | 819 | struct host_cmd_ds_command *resp); |
822 | int mwifiex_process_sta_rx_packet(struct mwifiex_adapter *, | 820 | int mwifiex_process_sta_rx_packet(struct mwifiex_private *, |
823 | struct sk_buff *skb); | 821 | struct sk_buff *skb); |
824 | int mwifiex_process_uap_rx_packet(struct mwifiex_adapter *adapter, | 822 | int mwifiex_process_uap_rx_packet(struct mwifiex_private *priv, |
825 | struct sk_buff *skb); | 823 | struct sk_buff *skb); |
826 | int mwifiex_handle_uap_rx_forward(struct mwifiex_private *priv, | 824 | int mwifiex_handle_uap_rx_forward(struct mwifiex_private *priv, |
827 | struct sk_buff *skb); | 825 | struct sk_buff *skb); |
@@ -1019,7 +1017,6 @@ int mwifiex_get_ver_ext(struct mwifiex_private *priv); | |||
1019 | 1017 | ||
1020 | int mwifiex_remain_on_chan_cfg(struct mwifiex_private *priv, u16 action, | 1018 | int mwifiex_remain_on_chan_cfg(struct mwifiex_private *priv, u16 action, |
1021 | struct ieee80211_channel *chan, | 1019 | struct ieee80211_channel *chan, |
1022 | enum nl80211_channel_type *channel_type, | ||
1023 | unsigned int duration); | 1020 | unsigned int duration); |
1024 | 1021 | ||
1025 | int mwifiex_set_bss_role(struct mwifiex_private *priv, u8 bss_role); | 1022 | int mwifiex_set_bss_role(struct mwifiex_private *priv, u8 bss_role); |