aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2012-04-12 04:02:18 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2012-04-16 02:08:51 -0400
commitcdeb860252e66bdaf1ab70420274df879f243d3d (patch)
tree156f3adf4122e71f7cfc449c3a63b2a0507ea4e6 /drivers/net
parentae9a3405fd28ce05dc3d0b51d541fd5ec742b3b4 (diff)
ath6kl: merge split format strings into one
Found by checkpatch: WARNING: quoted string split across lines Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.c29
-rw-r--r--drivers/net/wireless/ath/ath6kl/init.c11
-rw-r--r--drivers/net/wireless/ath/ath6kl/main.c8
-rw-r--r--drivers/net/wireless/ath/ath6kl/sdio.c9
-rw-r--r--drivers/net/wireless/ath/ath6kl/wmi.c69
5 files changed, 64 insertions, 62 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 12f2f616d380..fffae8768bc7 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -693,8 +693,8 @@ ath6kl_add_bss_if_needed(struct ath6kl_vif *vif,
693 ie, 2 + vif->ssid_len + beacon_ie_len, 693 ie, 2 + vif->ssid_len + beacon_ie_len,
694 0, GFP_KERNEL); 694 0, GFP_KERNEL);
695 if (bss) 695 if (bss)
696 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "added bss %pM to " 696 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG,
697 "cfg80211\n", bssid); 697 "added bss %pM to cfg80211\n", bssid);
698 kfree(ie); 698 kfree(ie);
699 } else 699 } else
700 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "cfg80211 already has a bss\n"); 700 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "cfg80211 already has a bss\n");
@@ -927,8 +927,7 @@ static int ath6kl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
927 WMI_FRAME_PROBE_REQ, 927 WMI_FRAME_PROBE_REQ,
928 request->ie, request->ie_len); 928 request->ie, request->ie_len);
929 if (ret) { 929 if (ret) {
930 ath6kl_err("failed to set Probe Request appie for " 930 ath6kl_err("failed to set Probe Request appie for scan");
931 "scan");
932 return ret; 931 return ret;
933 } 932 }
934 933
@@ -945,8 +944,7 @@ static int ath6kl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
945 944
946 channels = kzalloc(n_channels * sizeof(u16), GFP_KERNEL); 945 channels = kzalloc(n_channels * sizeof(u16), GFP_KERNEL);
947 if (channels == NULL) { 946 if (channels == NULL) {
948 ath6kl_warn("failed to set scan channels, " 947 ath6kl_warn("failed to set scan channels, scan all channels");
949 "scan all channels");
950 n_channels = 0; 948 n_channels = 0;
951 } 949 }
952 950
@@ -1125,9 +1123,8 @@ static int ath6kl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *ndev,
1125 ar->ap_mode_bkey.key_len = key->key_len; 1123 ar->ap_mode_bkey.key_len = key->key_len;
1126 memcpy(ar->ap_mode_bkey.key, key->key, key->key_len); 1124 memcpy(ar->ap_mode_bkey.key, key->key, key->key_len);
1127 if (!test_bit(CONNECTED, &vif->flags)) { 1125 if (!test_bit(CONNECTED, &vif->flags)) {
1128 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "Delay initial group " 1126 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG,
1129 "key configuration until AP mode has been " 1127 "Delay initial group key configuration until AP mode has been started\n");
1130 "started\n");
1131 /* 1128 /*
1132 * The key will be set in ath6kl_connect_ap_mode() once 1129 * The key will be set in ath6kl_connect_ap_mode() once
1133 * the connected event is received from the target. 1130 * the connected event is received from the target.
@@ -1143,8 +1140,8 @@ static int ath6kl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *ndev,
1143 * the AP mode has properly started 1140 * the AP mode has properly started
1144 * (ath6kl_install_statioc_wep_keys). 1141 * (ath6kl_install_statioc_wep_keys).
1145 */ 1142 */
1146 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "Delay WEP key configuration " 1143 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG,
1147 "until AP mode has been started\n"); 1144 "Delay WEP key configuration until AP mode has been started\n");
1148 vif->wep_key_list[key_index].key_len = key->key_len; 1145 vif->wep_key_list[key_index].key_len = key->key_len;
1149 memcpy(vif->wep_key_list[key_index].key, key->key, 1146 memcpy(vif->wep_key_list[key_index].key, key->key,
1150 key->key_len); 1147 key->key_len);
@@ -1976,8 +1973,7 @@ static int ath6kl_wow_sta(struct ath6kl *ar, struct ath6kl_vif *vif)
1976 sizeof(discvr_pattern), discvr_offset, 1973 sizeof(discvr_pattern), discvr_offset,
1977 discvr_pattern, discvr_mask); 1974 discvr_pattern, discvr_mask);
1978 if (ret) { 1975 if (ret) {
1979 ath6kl_err("failed to add WOW mDNS/SSDP/LLMNR " 1976 ath6kl_err("failed to add WOW mDNS/SSDP/LLMNR pattern\n");
1980 "pattern\n");
1981 return ret; 1977 return ret;
1982 } 1978 }
1983 } 1979 }
@@ -2161,8 +2157,8 @@ static int ath6kl_wow_resume(struct ath6kl *ar)
2161 ret = ath6kl_wmi_set_host_sleep_mode_cmd(ar->wmi, vif->fw_vif_idx, 2157 ret = ath6kl_wmi_set_host_sleep_mode_cmd(ar->wmi, vif->fw_vif_idx,
2162 ATH6KL_HOST_MODE_AWAKE); 2158 ATH6KL_HOST_MODE_AWAKE);
2163 if (ret) { 2159 if (ret) {
2164 ath6kl_warn("Failed to configure host sleep mode for " 2160 ath6kl_warn("Failed to configure host sleep mode for wow resume: %d\n",
2165 "wow resume: %d\n", ret); 2161 ret);
2166 ar->state = ATH6KL_STATE_WOW; 2162 ar->state = ATH6KL_STATE_WOW;
2167 return ret; 2163 return ret;
2168 } 2164 }
@@ -3292,8 +3288,7 @@ void ath6kl_cfg80211_stop_all(struct ath6kl *ar)
3292 ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode; 3288 ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode;
3293 3289
3294 if (ath6kl_wmi_powermode_cmd(ar->wmi, 0, REC_POWER) != 0) 3290 if (ath6kl_wmi_powermode_cmd(ar->wmi, 0, REC_POWER) != 0)
3295 ath6kl_warn("ath6kl_deep_sleep_enable: " 3291 ath6kl_warn("ath6kl_deep_sleep_enable: wmi_powermode_cmd failed\n");
3296 "wmi_powermode_cmd failed\n");
3297 return; 3292 return;
3298 } 3293 }
3299 3294
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index 0c4e3e335773..7eb0515f458a 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -463,9 +463,9 @@ static int ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx)
463 P2P_FLAG_MACADDR_REQ | 463 P2P_FLAG_MACADDR_REQ |
464 P2P_FLAG_HMODEL_REQ); 464 P2P_FLAG_HMODEL_REQ);
465 if (ret) { 465 if (ret) {
466 ath6kl_dbg(ATH6KL_DBG_TRC, "failed to request P2P " 466 ath6kl_dbg(ATH6KL_DBG_TRC,
467 "capabilities (%d) - assuming P2P not " 467 "failed to request P2P capabilities (%d) - assuming P2P not supported\n",
468 "supported\n", ret); 468 ret);
469 ar->p2p = false; 469 ar->p2p = false;
470 } 470 }
471 } 471 }
@@ -474,8 +474,9 @@ static int ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx)
474 /* Enable Probe Request reporting for P2P */ 474 /* Enable Probe Request reporting for P2P */
475 ret = ath6kl_wmi_probe_report_req_cmd(ar->wmi, idx, true); 475 ret = ath6kl_wmi_probe_report_req_cmd(ar->wmi, idx, true);
476 if (ret) { 476 if (ret) {
477 ath6kl_dbg(ATH6KL_DBG_TRC, "failed to enable Probe " 477 ath6kl_dbg(ATH6KL_DBG_TRC,
478 "Request reporting (%d)\n", ret); 478 "failed to enable Probe Request reporting (%d)\n",
479 ret);
479 } 480 }
480 } 481 }
481 482
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c
index 4602be7ce23b..4f3aab22008a 100644
--- a/drivers/net/wireless/ath/ath6kl/main.c
+++ b/drivers/net/wireless/ath/ath6kl/main.c
@@ -421,8 +421,8 @@ void ath6kl_connect_ap_mode_bss(struct ath6kl_vif *vif, u16 channel)
421 if (!ik->valid) 421 if (!ik->valid)
422 break; 422 break;
423 423
424 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "Delayed addkey for " 424 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG,
425 "the initial group key for AP mode\n"); 425 "Delayed addkey for the initial group key for AP mode\n");
426 memset(key_rsc, 0, sizeof(key_rsc)); 426 memset(key_rsc, 0, sizeof(key_rsc));
427 res = ath6kl_wmi_addkey_cmd( 427 res = ath6kl_wmi_addkey_cmd(
428 ar->wmi, vif->fw_vif_idx, ik->key_index, ik->key_type, 428 ar->wmi, vif->fw_vif_idx, ik->key_index, ik->key_type,
@@ -430,8 +430,8 @@ void ath6kl_connect_ap_mode_bss(struct ath6kl_vif *vif, u16 channel)
430 ik->key, 430 ik->key,
431 KEY_OP_INIT_VAL, NULL, SYNC_BOTH_WMIFLAG); 431 KEY_OP_INIT_VAL, NULL, SYNC_BOTH_WMIFLAG);
432 if (res) { 432 if (res) {
433 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "Delayed " 433 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG,
434 "addkey failed: %d\n", res); 434 "Delayed addkey failed: %d\n", res);
435 } 435 }
436 break; 436 break;
437 } 437 }
diff --git a/drivers/net/wireless/ath/ath6kl/sdio.c b/drivers/net/wireless/ath/ath6kl/sdio.c
index b41220d1e51e..cfcc3216db15 100644
--- a/drivers/net/wireless/ath/ath6kl/sdio.c
+++ b/drivers/net/wireless/ath/ath6kl/sdio.c
@@ -985,9 +985,8 @@ static int ath6kl_set_addrwin_reg(struct ath6kl *ar, u32 reg_addr, u32 addr)
985 } 985 }
986 986
987 if (status) { 987 if (status) {
988 ath6kl_err("%s: failed to write initial bytes of 0x%x " 988 ath6kl_err("%s: failed to write initial bytes of 0x%x to window reg: 0x%X\n",
989 "to window reg: 0x%X\n", __func__, 989 __func__, addr, reg_addr);
990 addr, reg_addr);
991 return status; 990 return status;
992 } 991 }
993 992
@@ -1076,8 +1075,8 @@ static int ath6kl_sdio_bmi_credits(struct ath6kl *ar)
1076 (u8 *)&ar->bmi.cmd_credits, 4, 1075 (u8 *)&ar->bmi.cmd_credits, 4,
1077 HIF_RD_SYNC_BYTE_INC); 1076 HIF_RD_SYNC_BYTE_INC);
1078 if (ret) { 1077 if (ret) {
1079 ath6kl_err("Unable to decrement the command credit " 1078 ath6kl_err("Unable to decrement the command credit count register: %d\n",
1080 "count register: %d\n", ret); 1079 ret);
1081 return ret; 1080 return ret;
1082 } 1081 }
1083 1082
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c
index 7c8a9977faf5..db688a2e1f6c 100644
--- a/drivers/net/wireless/ath/ath6kl/wmi.c
+++ b/drivers/net/wireless/ath/ath6kl/wmi.c
@@ -460,8 +460,9 @@ static int ath6kl_wmi_remain_on_chnl_event_rx(struct wmi *wmi, u8 *datap,
460 freq, dur); 460 freq, dur);
461 chan = ieee80211_get_channel(ar->wiphy, freq); 461 chan = ieee80211_get_channel(ar->wiphy, freq);
462 if (!chan) { 462 if (!chan) {
463 ath6kl_dbg(ATH6KL_DBG_WMI, "remain_on_chnl: Unknown channel " 463 ath6kl_dbg(ATH6KL_DBG_WMI,
464 "(freq=%u)\n", freq); 464 "remain_on_chnl: Unknown channel (freq=%u)\n",
465 freq);
465 return -EINVAL; 466 return -EINVAL;
466 } 467 }
467 id = vif->last_roc_id; 468 id = vif->last_roc_id;
@@ -488,12 +489,14 @@ static int ath6kl_wmi_cancel_remain_on_chnl_event_rx(struct wmi *wmi,
488 ev = (struct wmi_cancel_remain_on_chnl_event *) datap; 489 ev = (struct wmi_cancel_remain_on_chnl_event *) datap;
489 freq = le32_to_cpu(ev->freq); 490 freq = le32_to_cpu(ev->freq);
490 dur = le32_to_cpu(ev->duration); 491 dur = le32_to_cpu(ev->duration);
491 ath6kl_dbg(ATH6KL_DBG_WMI, "cancel_remain_on_chnl: freq=%u dur=%u " 492 ath6kl_dbg(ATH6KL_DBG_WMI,
492 "status=%u\n", freq, dur, ev->status); 493 "cancel_remain_on_chnl: freq=%u dur=%u status=%u\n",
494 freq, dur, ev->status);
493 chan = ieee80211_get_channel(ar->wiphy, freq); 495 chan = ieee80211_get_channel(ar->wiphy, freq);
494 if (!chan) { 496 if (!chan) {
495 ath6kl_dbg(ATH6KL_DBG_WMI, "cancel_remain_on_chnl: Unknown " 497 ath6kl_dbg(ATH6KL_DBG_WMI,
496 "channel (freq=%u)\n", freq); 498 "cancel_remain_on_chnl: Unknown channel (freq=%u)\n",
499 freq);
497 return -EINVAL; 500 return -EINVAL;
498 } 501 }
499 if (vif->last_cancel_roc_id && 502 if (vif->last_cancel_roc_id &&
@@ -548,12 +551,12 @@ static int ath6kl_wmi_rx_probe_req_event_rx(struct wmi *wmi, u8 *datap, int len,
548 freq = le32_to_cpu(ev->freq); 551 freq = le32_to_cpu(ev->freq);
549 dlen = le16_to_cpu(ev->len); 552 dlen = le16_to_cpu(ev->len);
550 if (datap + len < ev->data + dlen) { 553 if (datap + len < ev->data + dlen) {
551 ath6kl_err("invalid wmi_p2p_rx_probe_req_event: " 554 ath6kl_err("invalid wmi_p2p_rx_probe_req_event: len=%d dlen=%u\n",
552 "len=%d dlen=%u\n", len, dlen); 555 len, dlen);
553 return -EINVAL; 556 return -EINVAL;
554 } 557 }
555 ath6kl_dbg(ATH6KL_DBG_WMI, "rx_probe_req: len=%u freq=%u " 558 ath6kl_dbg(ATH6KL_DBG_WMI,
556 "probe_req_report=%d\n", 559 "rx_probe_req: len=%u freq=%u probe_req_report=%d\n",
557 dlen, freq, vif->probe_req_report); 560 dlen, freq, vif->probe_req_report);
558 561
559 if (vif->probe_req_report || vif->nw_type == AP_NETWORK) 562 if (vif->probe_req_report || vif->nw_type == AP_NETWORK)
@@ -592,8 +595,8 @@ static int ath6kl_wmi_rx_action_event_rx(struct wmi *wmi, u8 *datap, int len,
592 freq = le32_to_cpu(ev->freq); 595 freq = le32_to_cpu(ev->freq);
593 dlen = le16_to_cpu(ev->len); 596 dlen = le16_to_cpu(ev->len);
594 if (datap + len < ev->data + dlen) { 597 if (datap + len < ev->data + dlen) {
595 ath6kl_err("invalid wmi_rx_action_event: " 598 ath6kl_err("invalid wmi_rx_action_event: len=%d dlen=%u\n",
596 "len=%d dlen=%u\n", len, dlen); 599 len, dlen);
597 return -EINVAL; 600 return -EINVAL;
598 } 601 }
599 ath6kl_dbg(ATH6KL_DBG_WMI, "rx_action: len=%u freq=%u\n", dlen, freq); 602 ath6kl_dbg(ATH6KL_DBG_WMI, "rx_action: len=%u freq=%u\n", dlen, freq);
@@ -777,16 +780,15 @@ static int ath6kl_wmi_connect_event_rx(struct wmi *wmi, u8 *datap, int len,
777 /* AP mode start/STA connected event */ 780 /* AP mode start/STA connected event */
778 struct net_device *dev = vif->ndev; 781 struct net_device *dev = vif->ndev;
779 if (memcmp(dev->dev_addr, ev->u.ap_bss.bssid, ETH_ALEN) == 0) { 782 if (memcmp(dev->dev_addr, ev->u.ap_bss.bssid, ETH_ALEN) == 0) {
780 ath6kl_dbg(ATH6KL_DBG_WMI, "%s: freq %d bssid %pM " 783 ath6kl_dbg(ATH6KL_DBG_WMI,
781 "(AP started)\n", 784 "%s: freq %d bssid %pM (AP started)\n",
782 __func__, le16_to_cpu(ev->u.ap_bss.ch), 785 __func__, le16_to_cpu(ev->u.ap_bss.ch),
783 ev->u.ap_bss.bssid); 786 ev->u.ap_bss.bssid);
784 ath6kl_connect_ap_mode_bss( 787 ath6kl_connect_ap_mode_bss(
785 vif, le16_to_cpu(ev->u.ap_bss.ch)); 788 vif, le16_to_cpu(ev->u.ap_bss.ch));
786 } else { 789 } else {
787 ath6kl_dbg(ATH6KL_DBG_WMI, "%s: aid %u mac_addr %pM " 790 ath6kl_dbg(ATH6KL_DBG_WMI,
788 "auth=%u keymgmt=%u cipher=%u apsd_info=%u " 791 "%s: aid %u mac_addr %pM auth=%u keymgmt=%u cipher=%u apsd_info=%u (STA connected)\n",
789 "(STA connected)\n",
790 __func__, ev->u.ap_sta.aid, 792 __func__, ev->u.ap_sta.aid,
791 ev->u.ap_sta.mac_addr, 793 ev->u.ap_sta.mac_addr,
792 ev->u.ap_sta.auth, 794 ev->u.ap_sta.auth,
@@ -1229,8 +1231,9 @@ static int ath6kl_wmi_neighbor_report_event_rx(struct wmi *wmi, u8 *datap,
1229 ev = (struct wmi_neighbor_report_event *) datap; 1231 ev = (struct wmi_neighbor_report_event *) datap;
1230 if (sizeof(*ev) + ev->num_neighbors * sizeof(struct wmi_neighbor_info) 1232 if (sizeof(*ev) + ev->num_neighbors * sizeof(struct wmi_neighbor_info)
1231 > len) { 1233 > len) {
1232 ath6kl_dbg(ATH6KL_DBG_WMI, "truncated neighbor event " 1234 ath6kl_dbg(ATH6KL_DBG_WMI,
1233 "(num=%d len=%d)\n", ev->num_neighbors, len); 1235 "truncated neighbor event (num=%d len=%d)\n",
1236 ev->num_neighbors, len);
1234 return -EINVAL; 1237 return -EINVAL;
1235 } 1238 }
1236 for (i = 0; i < ev->num_neighbors; i++) { 1239 for (i = 0; i < ev->num_neighbors; i++) {
@@ -2129,8 +2132,8 @@ int ath6kl_wmi_addkey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index,
2129 struct wmi_add_cipher_key_cmd *cmd; 2132 struct wmi_add_cipher_key_cmd *cmd;
2130 int ret; 2133 int ret;
2131 2134
2132 ath6kl_dbg(ATH6KL_DBG_WMI, "addkey cmd: key_index=%u key_type=%d " 2135 ath6kl_dbg(ATH6KL_DBG_WMI,
2133 "key_usage=%d key_len=%d key_op_ctrl=%d\n", 2136 "addkey cmd: key_index=%u key_type=%d key_usage=%d key_len=%d key_op_ctrl=%d\n",
2134 key_index, key_type, key_usage, key_len, key_op_ctrl); 2137 key_index, key_type, key_usage, key_len, key_op_ctrl);
2135 2138
2136 if ((key_index > WMI_MAX_KEY_INDEX) || (key_len > WMI_MAX_KEY_LEN) || 2139 if ((key_index > WMI_MAX_KEY_INDEX) || (key_len > WMI_MAX_KEY_LEN) ||
@@ -3047,8 +3050,8 @@ int ath6kl_wmi_ap_profile_commit(struct wmi *wmip, u8 if_idx,
3047 3050
3048 res = ath6kl_wmi_cmd_send(wmip, if_idx, skb, WMI_AP_CONFIG_COMMIT_CMDID, 3051 res = ath6kl_wmi_cmd_send(wmip, if_idx, skb, WMI_AP_CONFIG_COMMIT_CMDID,
3049 NO_SYNC_WMIFLAG); 3052 NO_SYNC_WMIFLAG);
3050 ath6kl_dbg(ATH6KL_DBG_WMI, "%s: nw_type=%u auth_mode=%u ch=%u " 3053 ath6kl_dbg(ATH6KL_DBG_WMI,
3051 "ctrl_flags=0x%x-> res=%d\n", 3054 "%s: nw_type=%u auth_mode=%u ch=%u ctrl_flags=0x%x-> res=%d\n",
3052 __func__, p->nw_type, p->auth_mode, le16_to_cpu(p->ch), 3055 __func__, p->nw_type, p->auth_mode, le16_to_cpu(p->ch),
3053 le32_to_cpu(p->ctrl_flags), res); 3056 le32_to_cpu(p->ctrl_flags), res);
3054 return res; 3057 return res;
@@ -3208,8 +3211,9 @@ int ath6kl_wmi_set_appie_cmd(struct wmi *wmi, u8 if_idx, u8 mgmt_frm_type,
3208 if (!skb) 3211 if (!skb)
3209 return -ENOMEM; 3212 return -ENOMEM;
3210 3213
3211 ath6kl_dbg(ATH6KL_DBG_WMI, "set_appie_cmd: mgmt_frm_type=%u " 3214 ath6kl_dbg(ATH6KL_DBG_WMI,
3212 "ie_len=%u\n", mgmt_frm_type, ie_len); 3215 "set_appie_cmd: mgmt_frm_type=%u ie_len=%u\n",
3216 mgmt_frm_type, ie_len);
3213 p = (struct wmi_set_appie_cmd *) skb->data; 3217 p = (struct wmi_set_appie_cmd *) skb->data;
3214 p->mgmt_frm_type = mgmt_frm_type; 3218 p->mgmt_frm_type = mgmt_frm_type;
3215 p->ie_len = ie_len; 3219 p->ie_len = ie_len;
@@ -3310,8 +3314,9 @@ static int ath6kl_wmi_send_action_cmd(struct wmi *wmi, u8 if_idx, u32 id,
3310 wmi->last_mgmt_tx_frame = buf; 3314 wmi->last_mgmt_tx_frame = buf;
3311 wmi->last_mgmt_tx_frame_len = data_len; 3315 wmi->last_mgmt_tx_frame_len = data_len;
3312 3316
3313 ath6kl_dbg(ATH6KL_DBG_WMI, "send_action_cmd: id=%u freq=%u wait=%u " 3317 ath6kl_dbg(ATH6KL_DBG_WMI,
3314 "len=%u\n", id, freq, wait, data_len); 3318 "send_action_cmd: id=%u freq=%u wait=%u len=%u\n",
3319 id, freq, wait, data_len);
3315 p = (struct wmi_send_action_cmd *) skb->data; 3320 p = (struct wmi_send_action_cmd *) skb->data;
3316 p->id = cpu_to_le32(id); 3321 p->id = cpu_to_le32(id);
3317 p->freq = cpu_to_le32(freq); 3322 p->freq = cpu_to_le32(freq);
@@ -3348,8 +3353,9 @@ static int __ath6kl_wmi_send_mgmt_cmd(struct wmi *wmi, u8 if_idx, u32 id,
3348 wmi->last_mgmt_tx_frame = buf; 3353 wmi->last_mgmt_tx_frame = buf;
3349 wmi->last_mgmt_tx_frame_len = data_len; 3354 wmi->last_mgmt_tx_frame_len = data_len;
3350 3355
3351 ath6kl_dbg(ATH6KL_DBG_WMI, "send_action_cmd: id=%u freq=%u wait=%u " 3356 ath6kl_dbg(ATH6KL_DBG_WMI,
3352 "len=%u\n", id, freq, wait, data_len); 3357 "send_action_cmd: id=%u freq=%u wait=%u len=%u\n",
3358 id, freq, wait, data_len);
3353 p = (struct wmi_send_mgmt_cmd *) skb->data; 3359 p = (struct wmi_send_mgmt_cmd *) skb->data;
3354 p->id = cpu_to_le32(id); 3360 p->id = cpu_to_le32(id);
3355 p->freq = cpu_to_le32(freq); 3361 p->freq = cpu_to_le32(freq);
@@ -3402,8 +3408,9 @@ int ath6kl_wmi_send_probe_response_cmd(struct wmi *wmi, u8 if_idx, u32 freq,
3402 if (!skb) 3408 if (!skb)
3403 return -ENOMEM; 3409 return -ENOMEM;
3404 3410
3405 ath6kl_dbg(ATH6KL_DBG_WMI, "send_probe_response_cmd: freq=%u dst=%pM " 3411 ath6kl_dbg(ATH6KL_DBG_WMI,
3406 "len=%u\n", freq, dst, data_len); 3412 "send_probe_response_cmd: freq=%u dst=%pM len=%u\n",
3413 freq, dst, data_len);
3407 p = (struct wmi_p2p_probe_response_cmd *) skb->data; 3414 p = (struct wmi_p2p_probe_response_cmd *) skb->data;
3408 p->freq = cpu_to_le32(freq); 3415 p->freq = cpu_to_le32(freq);
3409 memcpy(p->destination_addr, dst, ETH_ALEN); 3416 memcpy(p->destination_addr, dst, ETH_ALEN);