aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/wmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/wmi.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c
index f4ef6a724e4c..a0503c2e7a7e 100644
--- a/drivers/net/wireless/ath/ath6kl/wmi.c
+++ b/drivers/net/wireless/ath/ath6kl/wmi.c
@@ -752,6 +752,23 @@ int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid)
752 NO_SYNC_WMIFLAG); 752 NO_SYNC_WMIFLAG);
753} 753}
754 754
755int ath6kl_wmi_ap_set_beacon_intvl_cmd(struct wmi *wmi, u8 if_idx,
756 u32 beacon_intvl)
757{
758 struct sk_buff *skb;
759 struct set_beacon_int_cmd *cmd;
760
761 skb = ath6kl_wmi_get_new_buf(sizeof(*cmd));
762 if (!skb)
763 return -ENOMEM;
764
765 cmd = (struct set_beacon_int_cmd *) skb->data;
766
767 cmd->beacon_intvl = cpu_to_le32(beacon_intvl);
768 return ath6kl_wmi_cmd_send(wmi, if_idx, skb,
769 WMI_SET_BEACON_INT_CMDID, NO_SYNC_WMIFLAG);
770}
771
755int ath6kl_wmi_ap_set_dtim_cmd(struct wmi *wmi, u8 if_idx, u32 dtim_period) 772int ath6kl_wmi_ap_set_dtim_cmd(struct wmi *wmi, u8 if_idx, u32 dtim_period)
756{ 773{
757 struct sk_buff *skb; 774 struct sk_buff *skb;