aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/wmi.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-10-25 10:04:13 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 05:58:48 -0500
commit240d279940ef496e9456db2287b7989f6521e2e2 (patch)
tree9e5959c4db18a3849576f43d339d41ebac725e92 /drivers/net/wireless/ath/ath6kl/wmi.h
parent334234b51453fe5def250bd60ea63b1f04a8e0d2 (diff)
ath6kl: Take vif information from wmi event
Interface index is passed in wmi command header from target. Use this index to get the appropriate vif. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/wmi.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h
index 83bf46c829b9..d2c951056a52 100644
--- a/drivers/net/wireless/ath/ath6kl/wmi.h
+++ b/drivers/net/wireless/ath/ath6kl/wmi.h
@@ -2171,9 +2171,9 @@ int ath6kl_wmi_data_hdr_add(struct wmi *wmi, struct sk_buff *skb,
2171 2171
2172int ath6kl_wmi_dot11_hdr_remove(struct wmi *wmi, struct sk_buff *skb); 2172int ath6kl_wmi_dot11_hdr_remove(struct wmi *wmi, struct sk_buff *skb);
2173int ath6kl_wmi_dot3_2_dix(struct sk_buff *skb); 2173int ath6kl_wmi_dot3_2_dix(struct sk_buff *skb);
2174int ath6kl_wmi_implicit_create_pstream(struct wmi *wmi, struct sk_buff *skb, 2174int ath6kl_wmi_implicit_create_pstream(struct wmi *wmi, u8 if_idx,
2175 u32 layer2_priority, bool wmm_enabled, 2175 struct sk_buff *skb, u32 layer2_priority,
2176 u8 *ac); 2176 bool wmm_enabled, u8 *ac);
2177 2177
2178int ath6kl_wmi_control_rx(struct wmi *wmi, struct sk_buff *skb); 2178int ath6kl_wmi_control_rx(struct wmi *wmi, struct sk_buff *skb);
2179 2179
@@ -2204,7 +2204,8 @@ int ath6kl_wmi_scanparams_cmd(struct wmi *wmi, u8 if_idx, u16 fg_start_sec,
2204 u16 pas_chdw_msec, u8 short_scan_ratio, 2204 u16 pas_chdw_msec, u8 short_scan_ratio,
2205 u8 scan_ctrl_flag, u32 max_dfsch_act_time, 2205 u8 scan_ctrl_flag, u32 max_dfsch_act_time,
2206 u16 maxact_scan_per_ssid); 2206 u16 maxact_scan_per_ssid);
2207int ath6kl_wmi_bssfilter_cmd(struct wmi *wmi, u8 filter, u32 ie_mask); 2207int ath6kl_wmi_bssfilter_cmd(struct wmi *wmi, u8 if_idx, u8 filter,
2208 u32 ie_mask);
2208int ath6kl_wmi_probedssid_cmd(struct wmi *wmi, u8 if_idx, u8 index, u8 flag, 2209int ath6kl_wmi_probedssid_cmd(struct wmi *wmi, u8 if_idx, u8 index, u8 flag,
2209 u8 ssid_len, u8 *ssid); 2210 u8 ssid_len, u8 *ssid);
2210int ath6kl_wmi_listeninterval_cmd(struct wmi *wmi, u8 if_idx, 2211int ath6kl_wmi_listeninterval_cmd(struct wmi *wmi, u8 if_idx,
@@ -2216,9 +2217,10 @@ int ath6kl_wmi_pmparams_cmd(struct wmi *wmi, u16 idle_period,
2216 u16 tx_wakup_policy, u16 num_tx_to_wakeup, 2217 u16 tx_wakup_policy, u16 num_tx_to_wakeup,
2217 u16 ps_fail_event_policy); 2218 u16 ps_fail_event_policy);
2218int ath6kl_wmi_disctimeout_cmd(struct wmi *wmi, u8 timeout); 2219int ath6kl_wmi_disctimeout_cmd(struct wmi *wmi, u8 timeout);
2219int ath6kl_wmi_create_pstream_cmd(struct wmi *wmi, 2220int ath6kl_wmi_create_pstream_cmd(struct wmi *wmi, u8 if_idx,
2220 struct wmi_create_pstream_cmd *pstream); 2221 struct wmi_create_pstream_cmd *pstream);
2221int ath6kl_wmi_delete_pstream_cmd(struct wmi *wmi, u8 traffic_class, u8 tsid); 2222int ath6kl_wmi_delete_pstream_cmd(struct wmi *wmi, u8 if_idx, u8 traffic_class,
2223 u8 tsid);
2222 2224
2223int ath6kl_wmi_set_rts_cmd(struct wmi *wmi, u16 threshold); 2225int ath6kl_wmi_set_rts_cmd(struct wmi *wmi, u16 threshold);
2224int ath6kl_wmi_set_lpreamble_cmd(struct wmi *wmi, u8 status, 2226int ath6kl_wmi_set_lpreamble_cmd(struct wmi *wmi, u8 status,
@@ -2234,7 +2236,7 @@ int ath6kl_wmi_addkey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index,
2234 u8 *key_rsc, u8 *key_material, 2236 u8 *key_rsc, u8 *key_material,
2235 u8 key_op_ctrl, u8 *mac_addr, 2237 u8 key_op_ctrl, u8 *mac_addr,
2236 enum wmi_sync_flag sync_flag); 2238 enum wmi_sync_flag sync_flag);
2237int ath6kl_wmi_add_krk_cmd(struct wmi *wmi, u8 *krk); 2239int ath6kl_wmi_add_krk_cmd(struct wmi *wmi, u8 if_idx, u8 *krk);
2238int ath6kl_wmi_deletekey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index); 2240int ath6kl_wmi_deletekey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index);
2239int ath6kl_wmi_setpmkid_cmd(struct wmi *wmi, u8 if_idx, const u8 *bssid, 2241int ath6kl_wmi_setpmkid_cmd(struct wmi *wmi, u8 if_idx, const u8 *bssid,
2240 const u8 *pmkid, bool set); 2242 const u8 *pmkid, bool set);