iwlwifi: unify station management
This patch unifies 3945 and AGN station management It also removes useless struct iwl_station_mgmt ops and cleanups a bit the interface Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Tested-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
0aa8204b46
commit
c587de0b8d
@@ -70,7 +70,6 @@ extern struct iwl_ops iwl5000_ops;
|
||||
extern struct iwl_lib_ops iwl5000_lib;
|
||||
extern struct iwl_hcmd_ops iwl5000_hcmd;
|
||||
extern struct iwl_hcmd_utils_ops iwl5000_hcmd_utils;
|
||||
extern struct iwl_station_mgmt_ops iwl5000_station_mgmt;
|
||||
|
||||
/* shared functions from iwl-5000.c */
|
||||
extern u16 iwl5000_get_hcmd_size(u8 cmd_id, u16 len);
|
||||
@@ -290,11 +289,11 @@ struct iwl_frame {
|
||||
#define MAX_SN ((IEEE80211_SCTL_SEQ) >> 4)
|
||||
|
||||
enum {
|
||||
/* CMD_SIZE_NORMAL = 0, */
|
||||
CMD_SYNC = 0,
|
||||
CMD_SIZE_NORMAL = 0,
|
||||
CMD_NO_SKB = 0,
|
||||
CMD_SIZE_HUGE = (1 << 0),
|
||||
/* CMD_SYNC = 0, */
|
||||
CMD_ASYNC = (1 << 1),
|
||||
/* CMD_NO_SKB = 0, */
|
||||
CMD_WANT_SKB = (1 << 2),
|
||||
};
|
||||
|
||||
@@ -1119,8 +1118,6 @@ struct iwl_priv {
|
||||
|
||||
struct iwl3945_notif_statistics statistics_39;
|
||||
|
||||
struct iwl3945_station_entry stations_39[IWL_STATION_COUNT];
|
||||
|
||||
u32 sta_supp_rates;
|
||||
}; /*iwl_priv */
|
||||
|
||||
|
Reference in New Issue
Block a user