|
@@ -83,10 +83,22 @@ struct iwl_cmd;
|
|
|
#define IWL_SKU_A 0x2
|
|
|
#define IWL_SKU_N 0x8
|
|
|
|
|
|
+struct iwl_station_mgmt_ops {
|
|
|
+ u8 (*add_station_ht)(struct iwl_priv *priv, const u8 *addr,
|
|
|
+ int is_ap, u8 flags, struct ieee80211_sta_ht_cap *ht_info);
|
|
|
+ u8 (*add_station)(struct iwl_priv *priv, const u8 *addr,
|
|
|
+ int is_ap, u8 flags);
|
|
|
+ int (*remove_station)(struct iwl_priv *priv, const u8 *addr,
|
|
|
+ int is_ap);
|
|
|
+ u8 (*find_station)(struct iwl_priv *priv, const u8 *addr);
|
|
|
+ void (*clear_station_table)(struct iwl_priv *priv);
|
|
|
+};
|
|
|
+
|
|
|
struct iwl_hcmd_ops {
|
|
|
int (*rxon_assoc)(struct iwl_priv *priv);
|
|
|
int (*commit_rxon)(struct iwl_priv *priv);
|
|
|
};
|
|
|
+
|
|
|
struct iwl_hcmd_utils_ops {
|
|
|
u16 (*get_hcmd_size)(u8 cmd_id, u16 len);
|
|
|
u16 (*build_addsta_hcmd)(const struct iwl_addsta_cmd *cmd, u8 *data);
|
|
@@ -160,6 +172,7 @@ struct iwl_ops {
|
|
|
const struct iwl_lib_ops *lib;
|
|
|
const struct iwl_hcmd_ops *hcmd;
|
|
|
const struct iwl_hcmd_utils_ops *utils;
|
|
|
+ const struct iwl_station_mgmt_ops *smgmt;
|
|
|
};
|
|
|
|
|
|
struct iwl_mod_params {
|