diff options
author | Joe Perches <joe@perches.com> | 2011-02-02 17:05:49 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-02 17:34:49 -0500 |
commit | ab3655dae4948a82a3be52681af0b778ead2c0ff (patch) | |
tree | 3b3c7b695b241971fc559a293cb39752862889a9 /drivers/staging/ath6kl/include/wmi_api.h | |
parent | 4c42080f3e4efba6f79fe1840eb0b728f286702d (diff) |
staging: ath6kl: Convert A_UINT8 to u8
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/include/wmi_api.h')
-rw-r--r-- | drivers/staging/ath6kl/include/wmi_api.h | 169 |
1 files changed, 84 insertions, 85 deletions
diff --git a/drivers/staging/ath6kl/include/wmi_api.h b/drivers/staging/ath6kl/include/wmi_api.h index ae720a07320..3f622100e9b 100644 --- a/drivers/staging/ath6kl/include/wmi_api.h +++ b/drivers/staging/ath6kl/include/wmi_api.h | |||
@@ -69,9 +69,9 @@ void wmi_qos_state_init(struct wmi_t *wmip); | |||
69 | void wmi_shutdown(struct wmi_t *wmip); | 69 | void wmi_shutdown(struct wmi_t *wmip); |
70 | HTC_ENDPOINT_ID wmi_get_control_ep(struct wmi_t * wmip); | 70 | HTC_ENDPOINT_ID wmi_get_control_ep(struct wmi_t * wmip); |
71 | void wmi_set_control_ep(struct wmi_t * wmip, HTC_ENDPOINT_ID eid); | 71 | void wmi_set_control_ep(struct wmi_t * wmip, HTC_ENDPOINT_ID eid); |
72 | A_UINT16 wmi_get_mapped_qos_queue(struct wmi_t *, A_UINT8); | 72 | A_UINT16 wmi_get_mapped_qos_queue(struct wmi_t *, u8 ); |
73 | int wmi_dix_2_dot3(struct wmi_t *wmip, void *osbuf); | 73 | int wmi_dix_2_dot3(struct wmi_t *wmip, void *osbuf); |
74 | int wmi_data_hdr_add(struct wmi_t *wmip, void *osbuf, A_UINT8 msgType, bool bMoreData, WMI_DATA_HDR_DATA_TYPE data_type,A_UINT8 metaVersion, void *pTxMetaS); | 74 | int wmi_data_hdr_add(struct wmi_t *wmip, void *osbuf, u8 msgType, bool bMoreData, WMI_DATA_HDR_DATA_TYPE data_type,u8 metaVersion, void *pTxMetaS); |
75 | int wmi_dot3_2_dix(void *osbuf); | 75 | int wmi_dot3_2_dix(void *osbuf); |
76 | 76 | ||
77 | int wmi_dot11_hdr_remove (struct wmi_t *wmip, void *osbuf); | 77 | int wmi_dot11_hdr_remove (struct wmi_t *wmip, void *osbuf); |
@@ -80,15 +80,15 @@ int wmi_dot11_hdr_add(struct wmi_t *wmip, void *osbuf, NETWORK_TYPE mode); | |||
80 | int wmi_data_hdr_remove(struct wmi_t *wmip, void *osbuf); | 80 | int wmi_data_hdr_remove(struct wmi_t *wmip, void *osbuf); |
81 | int wmi_syncpoint(struct wmi_t *wmip); | 81 | int wmi_syncpoint(struct wmi_t *wmip); |
82 | int wmi_syncpoint_reset(struct wmi_t *wmip); | 82 | int wmi_syncpoint_reset(struct wmi_t *wmip); |
83 | A_UINT8 wmi_implicit_create_pstream(struct wmi_t *wmip, void *osbuf, A_UINT32 layer2Priority, bool wmmEnabled); | 83 | u8 wmi_implicit_create_pstream(struct wmi_t *wmip, void *osbuf, A_UINT32 layer2Priority, bool wmmEnabled); |
84 | 84 | ||
85 | A_UINT8 wmi_determine_userPriority (A_UINT8 *pkt, A_UINT32 layer2Pri); | 85 | u8 wmi_determine_userPriority (u8 *pkt, A_UINT32 layer2Pri); |
86 | 86 | ||
87 | int wmi_control_rx(struct wmi_t *wmip, void *osbuf); | 87 | int wmi_control_rx(struct wmi_t *wmip, void *osbuf); |
88 | void wmi_iterate_nodes(struct wmi_t *wmip, wlan_node_iter_func *f, void *arg); | 88 | void wmi_iterate_nodes(struct wmi_t *wmip, wlan_node_iter_func *f, void *arg); |
89 | void wmi_free_allnodes(struct wmi_t *wmip); | 89 | void wmi_free_allnodes(struct wmi_t *wmip); |
90 | bss_t *wmi_find_node(struct wmi_t *wmip, const A_UINT8 *macaddr); | 90 | bss_t *wmi_find_node(struct wmi_t *wmip, const u8 *macaddr); |
91 | void wmi_free_node(struct wmi_t *wmip, const A_UINT8 *macaddr); | 91 | void wmi_free_node(struct wmi_t *wmip, const u8 *macaddr); |
92 | 92 | ||
93 | 93 | ||
94 | typedef enum { | 94 | typedef enum { |
@@ -107,17 +107,17 @@ int wmi_connect_cmd(struct wmi_t *wmip, | |||
107 | DOT11_AUTH_MODE dot11AuthMode, | 107 | DOT11_AUTH_MODE dot11AuthMode, |
108 | AUTH_MODE authMode, | 108 | AUTH_MODE authMode, |
109 | CRYPTO_TYPE pairwiseCrypto, | 109 | CRYPTO_TYPE pairwiseCrypto, |
110 | A_UINT8 pairwiseCryptoLen, | 110 | u8 pairwiseCryptoLen, |
111 | CRYPTO_TYPE groupCrypto, | 111 | CRYPTO_TYPE groupCrypto, |
112 | A_UINT8 groupCryptoLen, | 112 | u8 groupCryptoLen, |
113 | int ssidLength, | 113 | int ssidLength, |
114 | A_UCHAR *ssid, | 114 | A_UCHAR *ssid, |
115 | A_UINT8 *bssid, | 115 | u8 *bssid, |
116 | A_UINT16 channel, | 116 | A_UINT16 channel, |
117 | A_UINT32 ctrl_flags); | 117 | A_UINT32 ctrl_flags); |
118 | 118 | ||
119 | int wmi_reconnect_cmd(struct wmi_t *wmip, | 119 | int wmi_reconnect_cmd(struct wmi_t *wmip, |
120 | A_UINT8 *bssid, | 120 | u8 *bssid, |
121 | A_UINT16 channel); | 121 | A_UINT16 channel); |
122 | int wmi_disconnect_cmd(struct wmi_t *wmip); | 122 | int wmi_disconnect_cmd(struct wmi_t *wmip); |
123 | int wmi_getrev_cmd(struct wmi_t *wmip); | 123 | int wmi_getrev_cmd(struct wmi_t *wmip); |
@@ -129,36 +129,36 @@ int wmi_scanparams_cmd(struct wmi_t *wmip, A_UINT16 fg_start_sec, | |||
129 | A_UINT16 fg_end_sec, A_UINT16 bg_sec, | 129 | A_UINT16 fg_end_sec, A_UINT16 bg_sec, |
130 | A_UINT16 minact_chdw_msec, | 130 | A_UINT16 minact_chdw_msec, |
131 | A_UINT16 maxact_chdw_msec, A_UINT16 pas_chdw_msec, | 131 | A_UINT16 maxact_chdw_msec, A_UINT16 pas_chdw_msec, |
132 | A_UINT8 shScanRatio, A_UINT8 scanCtrlFlags, | 132 | u8 shScanRatio, u8 scanCtrlFlags, |
133 | A_UINT32 max_dfsch_act_time, | 133 | A_UINT32 max_dfsch_act_time, |
134 | A_UINT16 maxact_scan_per_ssid); | 134 | A_UINT16 maxact_scan_per_ssid); |
135 | int wmi_bssfilter_cmd(struct wmi_t *wmip, A_UINT8 filter, A_UINT32 ieMask); | 135 | int wmi_bssfilter_cmd(struct wmi_t *wmip, u8 filter, A_UINT32 ieMask); |
136 | int wmi_probedSsid_cmd(struct wmi_t *wmip, A_UINT8 index, A_UINT8 flag, | 136 | int wmi_probedSsid_cmd(struct wmi_t *wmip, u8 index, u8 flag, |
137 | A_UINT8 ssidLength, A_UCHAR *ssid); | 137 | u8 ssidLength, A_UCHAR *ssid); |
138 | int wmi_listeninterval_cmd(struct wmi_t *wmip, A_UINT16 listenInterval, A_UINT16 listenBeacons); | 138 | int wmi_listeninterval_cmd(struct wmi_t *wmip, A_UINT16 listenInterval, A_UINT16 listenBeacons); |
139 | int wmi_bmisstime_cmd(struct wmi_t *wmip, A_UINT16 bmisstime, A_UINT16 bmissbeacons); | 139 | int wmi_bmisstime_cmd(struct wmi_t *wmip, A_UINT16 bmisstime, A_UINT16 bmissbeacons); |
140 | int wmi_associnfo_cmd(struct wmi_t *wmip, A_UINT8 ieType, | 140 | int wmi_associnfo_cmd(struct wmi_t *wmip, u8 ieType, |
141 | A_UINT8 ieLen, A_UINT8 *ieInfo); | 141 | u8 ieLen, u8 *ieInfo); |
142 | int wmi_powermode_cmd(struct wmi_t *wmip, A_UINT8 powerMode); | 142 | int wmi_powermode_cmd(struct wmi_t *wmip, u8 powerMode); |
143 | int wmi_ibsspmcaps_cmd(struct wmi_t *wmip, A_UINT8 pmEnable, A_UINT8 ttl, | 143 | int wmi_ibsspmcaps_cmd(struct wmi_t *wmip, u8 pmEnable, u8 ttl, |
144 | A_UINT16 atim_windows, A_UINT16 timeout_value); | 144 | A_UINT16 atim_windows, A_UINT16 timeout_value); |
145 | int wmi_apps_cmd(struct wmi_t *wmip, A_UINT8 psType, A_UINT32 idle_time, | 145 | int wmi_apps_cmd(struct wmi_t *wmip, u8 psType, A_UINT32 idle_time, |
146 | A_UINT32 ps_period, A_UINT8 sleep_period); | 146 | A_UINT32 ps_period, u8 sleep_period); |
147 | int wmi_pmparams_cmd(struct wmi_t *wmip, A_UINT16 idlePeriod, | 147 | int wmi_pmparams_cmd(struct wmi_t *wmip, A_UINT16 idlePeriod, |
148 | A_UINT16 psPollNum, A_UINT16 dtimPolicy, | 148 | A_UINT16 psPollNum, A_UINT16 dtimPolicy, |
149 | A_UINT16 wakup_tx_policy, A_UINT16 num_tx_to_wakeup, | 149 | A_UINT16 wakup_tx_policy, A_UINT16 num_tx_to_wakeup, |
150 | A_UINT16 ps_fail_event_policy); | 150 | A_UINT16 ps_fail_event_policy); |
151 | int wmi_disctimeout_cmd(struct wmi_t *wmip, A_UINT8 timeout); | 151 | int wmi_disctimeout_cmd(struct wmi_t *wmip, u8 timeout); |
152 | int wmi_sync_cmd(struct wmi_t *wmip, A_UINT8 syncNumber); | 152 | int wmi_sync_cmd(struct wmi_t *wmip, u8 syncNumber); |
153 | int wmi_create_pstream_cmd(struct wmi_t *wmip, WMI_CREATE_PSTREAM_CMD *pstream); | 153 | int wmi_create_pstream_cmd(struct wmi_t *wmip, WMI_CREATE_PSTREAM_CMD *pstream); |
154 | int wmi_delete_pstream_cmd(struct wmi_t *wmip, A_UINT8 trafficClass, A_UINT8 streamID); | 154 | int wmi_delete_pstream_cmd(struct wmi_t *wmip, u8 trafficClass, u8 streamID); |
155 | int wmi_set_framerate_cmd(struct wmi_t *wmip, A_UINT8 bEnable, A_UINT8 type, A_UINT8 subType, A_UINT16 rateMask); | 155 | int wmi_set_framerate_cmd(struct wmi_t *wmip, u8 bEnable, u8 type, u8 subType, A_UINT16 rateMask); |
156 | int wmi_set_bitrate_cmd(struct wmi_t *wmip, A_INT32 dataRate, A_INT32 mgmtRate, A_INT32 ctlRate); | 156 | int wmi_set_bitrate_cmd(struct wmi_t *wmip, A_INT32 dataRate, A_INT32 mgmtRate, A_INT32 ctlRate); |
157 | int wmi_get_bitrate_cmd(struct wmi_t *wmip); | 157 | int wmi_get_bitrate_cmd(struct wmi_t *wmip); |
158 | A_INT8 wmi_validate_bitrate(struct wmi_t *wmip, A_INT32 rate, A_INT8 *rate_idx); | 158 | A_INT8 wmi_validate_bitrate(struct wmi_t *wmip, A_INT32 rate, A_INT8 *rate_idx); |
159 | int wmi_get_regDomain_cmd(struct wmi_t *wmip); | 159 | int wmi_get_regDomain_cmd(struct wmi_t *wmip); |
160 | int wmi_get_channelList_cmd(struct wmi_t *wmip); | 160 | int wmi_get_channelList_cmd(struct wmi_t *wmip); |
161 | int wmi_set_channelParams_cmd(struct wmi_t *wmip, A_UINT8 scanParam, | 161 | int wmi_set_channelParams_cmd(struct wmi_t *wmip, u8 scanParam, |
162 | WMI_PHY_MODE mode, A_INT8 numChan, | 162 | WMI_PHY_MODE mode, A_INT8 numChan, |
163 | A_UINT16 *channelList); | 163 | A_UINT16 *channelList); |
164 | 164 | ||
@@ -170,7 +170,7 @@ int wmi_clr_rssi_snr(struct wmi_t *wmip); | |||
170 | int wmi_set_lq_threshold_params(struct wmi_t *wmip, | 170 | int wmi_set_lq_threshold_params(struct wmi_t *wmip, |
171 | WMI_LQ_THRESHOLD_PARAMS_CMD *lqCmd); | 171 | WMI_LQ_THRESHOLD_PARAMS_CMD *lqCmd); |
172 | int wmi_set_rts_cmd(struct wmi_t *wmip, A_UINT16 threshold); | 172 | int wmi_set_rts_cmd(struct wmi_t *wmip, A_UINT16 threshold); |
173 | int wmi_set_lpreamble_cmd(struct wmi_t *wmip, A_UINT8 status, A_UINT8 preamblePolicy); | 173 | int wmi_set_lpreamble_cmd(struct wmi_t *wmip, u8 status, u8 preamblePolicy); |
174 | 174 | ||
175 | int wmi_set_error_report_bitmask(struct wmi_t *wmip, A_UINT32 bitmask); | 175 | int wmi_set_error_report_bitmask(struct wmi_t *wmip, A_UINT32 bitmask); |
176 | 176 | ||
@@ -183,64 +183,64 @@ int wmi_config_debug_module_cmd(struct wmi_t *wmip, A_UINT16 mmask, | |||
183 | 183 | ||
184 | int wmi_get_stats_cmd(struct wmi_t *wmip); | 184 | int wmi_get_stats_cmd(struct wmi_t *wmip); |
185 | 185 | ||
186 | int wmi_addKey_cmd(struct wmi_t *wmip, A_UINT8 keyIndex, | 186 | int wmi_addKey_cmd(struct wmi_t *wmip, u8 keyIndex, |
187 | CRYPTO_TYPE keyType, A_UINT8 keyUsage, | 187 | CRYPTO_TYPE keyType, u8 keyUsage, |
188 | A_UINT8 keyLength,A_UINT8 *keyRSC, | 188 | u8 keyLength,u8 *keyRSC, |
189 | A_UINT8 *keyMaterial, A_UINT8 key_op_ctrl, A_UINT8 *mac, | 189 | u8 *keyMaterial, u8 key_op_ctrl, u8 *mac, |
190 | WMI_SYNC_FLAG sync_flag); | 190 | WMI_SYNC_FLAG sync_flag); |
191 | int wmi_add_krk_cmd(struct wmi_t *wmip, A_UINT8 *krk); | 191 | int wmi_add_krk_cmd(struct wmi_t *wmip, u8 *krk); |
192 | int wmi_delete_krk_cmd(struct wmi_t *wmip); | 192 | int wmi_delete_krk_cmd(struct wmi_t *wmip); |
193 | int wmi_deleteKey_cmd(struct wmi_t *wmip, A_UINT8 keyIndex); | 193 | int wmi_deleteKey_cmd(struct wmi_t *wmip, u8 keyIndex); |
194 | int wmi_set_akmp_params_cmd(struct wmi_t *wmip, | 194 | int wmi_set_akmp_params_cmd(struct wmi_t *wmip, |
195 | WMI_SET_AKMP_PARAMS_CMD *akmpParams); | 195 | WMI_SET_AKMP_PARAMS_CMD *akmpParams); |
196 | int wmi_get_pmkid_list_cmd(struct wmi_t *wmip); | 196 | int wmi_get_pmkid_list_cmd(struct wmi_t *wmip); |
197 | int wmi_set_pmkid_list_cmd(struct wmi_t *wmip, | 197 | int wmi_set_pmkid_list_cmd(struct wmi_t *wmip, |
198 | WMI_SET_PMKID_LIST_CMD *pmkInfo); | 198 | WMI_SET_PMKID_LIST_CMD *pmkInfo); |
199 | int wmi_abort_scan_cmd(struct wmi_t *wmip); | 199 | int wmi_abort_scan_cmd(struct wmi_t *wmip); |
200 | int wmi_set_txPwr_cmd(struct wmi_t *wmip, A_UINT8 dbM); | 200 | int wmi_set_txPwr_cmd(struct wmi_t *wmip, u8 dbM); |
201 | int wmi_get_txPwr_cmd(struct wmi_t *wmip); | 201 | int wmi_get_txPwr_cmd(struct wmi_t *wmip); |
202 | int wmi_addBadAp_cmd(struct wmi_t *wmip, A_UINT8 apIndex, A_UINT8 *bssid); | 202 | int wmi_addBadAp_cmd(struct wmi_t *wmip, u8 apIndex, u8 *bssid); |
203 | int wmi_deleteBadAp_cmd(struct wmi_t *wmip, A_UINT8 apIndex); | 203 | int wmi_deleteBadAp_cmd(struct wmi_t *wmip, u8 apIndex); |
204 | int wmi_set_tkip_countermeasures_cmd(struct wmi_t *wmip, bool en); | 204 | int wmi_set_tkip_countermeasures_cmd(struct wmi_t *wmip, bool en); |
205 | int wmi_setPmkid_cmd(struct wmi_t *wmip, A_UINT8 *bssid, A_UINT8 *pmkId, | 205 | int wmi_setPmkid_cmd(struct wmi_t *wmip, u8 *bssid, u8 *pmkId, |
206 | bool set); | 206 | bool set); |
207 | int wmi_set_access_params_cmd(struct wmi_t *wmip, A_UINT8 ac, A_UINT16 txop, | 207 | int wmi_set_access_params_cmd(struct wmi_t *wmip, u8 ac, A_UINT16 txop, |
208 | A_UINT8 eCWmin, A_UINT8 eCWmax, | 208 | u8 eCWmin, u8 eCWmax, |
209 | A_UINT8 aifsn); | 209 | u8 aifsn); |
210 | int wmi_set_retry_limits_cmd(struct wmi_t *wmip, A_UINT8 frameType, | 210 | int wmi_set_retry_limits_cmd(struct wmi_t *wmip, u8 frameType, |
211 | A_UINT8 trafficClass, A_UINT8 maxRetries, | 211 | u8 trafficClass, u8 maxRetries, |
212 | A_UINT8 enableNotify); | 212 | u8 enableNotify); |
213 | 213 | ||
214 | void wmi_get_current_bssid(struct wmi_t *wmip, A_UINT8 *bssid); | 214 | void wmi_get_current_bssid(struct wmi_t *wmip, u8 *bssid); |
215 | 215 | ||
216 | int wmi_get_roam_tbl_cmd(struct wmi_t *wmip); | 216 | int wmi_get_roam_tbl_cmd(struct wmi_t *wmip); |
217 | int wmi_get_roam_data_cmd(struct wmi_t *wmip, A_UINT8 roamDataType); | 217 | int wmi_get_roam_data_cmd(struct wmi_t *wmip, u8 roamDataType); |
218 | int wmi_set_roam_ctrl_cmd(struct wmi_t *wmip, WMI_SET_ROAM_CTRL_CMD *p, | 218 | int wmi_set_roam_ctrl_cmd(struct wmi_t *wmip, WMI_SET_ROAM_CTRL_CMD *p, |
219 | A_UINT8 size); | 219 | u8 size); |
220 | int wmi_set_powersave_timers_cmd(struct wmi_t *wmip, | 220 | int wmi_set_powersave_timers_cmd(struct wmi_t *wmip, |
221 | WMI_POWERSAVE_TIMERS_POLICY_CMD *pCmd, | 221 | WMI_POWERSAVE_TIMERS_POLICY_CMD *pCmd, |
222 | A_UINT8 size); | 222 | u8 size); |
223 | 223 | ||
224 | int wmi_set_opt_mode_cmd(struct wmi_t *wmip, A_UINT8 optMode); | 224 | int wmi_set_opt_mode_cmd(struct wmi_t *wmip, u8 optMode); |
225 | int wmi_opt_tx_frame_cmd(struct wmi_t *wmip, | 225 | int wmi_opt_tx_frame_cmd(struct wmi_t *wmip, |
226 | A_UINT8 frmType, | 226 | u8 frmType, |
227 | A_UINT8 *dstMacAddr, | 227 | u8 *dstMacAddr, |
228 | A_UINT8 *bssid, | 228 | u8 *bssid, |
229 | A_UINT16 optIEDataLen, | 229 | A_UINT16 optIEDataLen, |
230 | A_UINT8 *optIEData); | 230 | u8 *optIEData); |
231 | 231 | ||
232 | int wmi_set_adhoc_bconIntvl_cmd(struct wmi_t *wmip, A_UINT16 intvl); | 232 | int wmi_set_adhoc_bconIntvl_cmd(struct wmi_t *wmip, A_UINT16 intvl); |
233 | int wmi_set_voice_pkt_size_cmd(struct wmi_t *wmip, A_UINT16 voicePktSize); | 233 | int wmi_set_voice_pkt_size_cmd(struct wmi_t *wmip, A_UINT16 voicePktSize); |
234 | int wmi_set_max_sp_len_cmd(struct wmi_t *wmip, A_UINT8 maxSpLen); | 234 | int wmi_set_max_sp_len_cmd(struct wmi_t *wmip, u8 maxSpLen); |
235 | A_UINT8 convert_userPriority_to_trafficClass(A_UINT8 userPriority); | 235 | u8 convert_userPriority_to_trafficClass(u8 userPriority); |
236 | A_UINT8 wmi_get_power_mode_cmd(struct wmi_t *wmip); | 236 | u8 wmi_get_power_mode_cmd(struct wmi_t *wmip); |
237 | int wmi_verify_tspec_params(WMI_CREATE_PSTREAM_CMD *pCmd, int tspecCompliance); | 237 | int wmi_verify_tspec_params(WMI_CREATE_PSTREAM_CMD *pCmd, int tspecCompliance); |
238 | 238 | ||
239 | #ifdef CONFIG_HOST_TCMD_SUPPORT | 239 | #ifdef CONFIG_HOST_TCMD_SUPPORT |
240 | int wmi_test_cmd(struct wmi_t *wmip, A_UINT8 *buf, A_UINT32 len); | 240 | int wmi_test_cmd(struct wmi_t *wmip, u8 *buf, A_UINT32 len); |
241 | #endif | 241 | #endif |
242 | 242 | ||
243 | int wmi_set_bt_status_cmd(struct wmi_t *wmip, A_UINT8 streamType, A_UINT8 status); | 243 | int wmi_set_bt_status_cmd(struct wmi_t *wmip, u8 streamType, u8 status); |
244 | int wmi_set_bt_params_cmd(struct wmi_t *wmip, WMI_SET_BT_PARAMS_CMD* cmd); | 244 | int wmi_set_bt_params_cmd(struct wmi_t *wmip, WMI_SET_BT_PARAMS_CMD* cmd); |
245 | 245 | ||
246 | int wmi_set_btcoex_fe_ant_cmd(struct wmi_t *wmip, WMI_SET_BTCOEX_FE_ANT_CMD * cmd); | 246 | int wmi_set_btcoex_fe_ant_cmd(struct wmi_t *wmip, WMI_SET_BTCOEX_FE_ANT_CMD * cmd); |
@@ -269,7 +269,7 @@ int wmi_get_btcoex_config_cmd(struct wmi_t * wmip, WMI_GET_BTCOEX_CONFIG_CMD * c | |||
269 | 269 | ||
270 | int wmi_get_btcoex_stats_cmd(struct wmi_t * wmip); | 270 | int wmi_get_btcoex_stats_cmd(struct wmi_t * wmip); |
271 | 271 | ||
272 | int wmi_SGI_cmd(struct wmi_t *wmip, A_UINT32 sgiMask, A_UINT8 sgiPERThreshold); | 272 | int wmi_SGI_cmd(struct wmi_t *wmip, A_UINT32 sgiMask, u8 sgiPERThreshold); |
273 | 273 | ||
274 | /* | 274 | /* |
275 | * This function is used to configure the fix rates mask to the target. | 275 | * This function is used to configure the fix rates mask to the target. |
@@ -277,23 +277,23 @@ int wmi_SGI_cmd(struct wmi_t *wmip, A_UINT32 sgiMask, A_UINT8 sgiPERThreshold); | |||
277 | int wmi_set_fixrates_cmd(struct wmi_t *wmip, A_UINT32 fixRatesMask); | 277 | int wmi_set_fixrates_cmd(struct wmi_t *wmip, A_UINT32 fixRatesMask); |
278 | int wmi_get_ratemask_cmd(struct wmi_t *wmip); | 278 | int wmi_get_ratemask_cmd(struct wmi_t *wmip); |
279 | 279 | ||
280 | int wmi_set_authmode_cmd(struct wmi_t *wmip, A_UINT8 mode); | 280 | int wmi_set_authmode_cmd(struct wmi_t *wmip, u8 mode); |
281 | 281 | ||
282 | int wmi_set_reassocmode_cmd(struct wmi_t *wmip, A_UINT8 mode); | 282 | int wmi_set_reassocmode_cmd(struct wmi_t *wmip, u8 mode); |
283 | 283 | ||
284 | int wmi_set_qos_supp_cmd(struct wmi_t *wmip,A_UINT8 status); | 284 | int wmi_set_qos_supp_cmd(struct wmi_t *wmip,u8 status); |
285 | int wmi_set_wmm_cmd(struct wmi_t *wmip, WMI_WMM_STATUS status); | 285 | int wmi_set_wmm_cmd(struct wmi_t *wmip, WMI_WMM_STATUS status); |
286 | int wmi_set_wmm_txop(struct wmi_t *wmip, WMI_TXOP_CFG txEnable); | 286 | int wmi_set_wmm_txop(struct wmi_t *wmip, WMI_TXOP_CFG txEnable); |
287 | int wmi_set_country(struct wmi_t *wmip, A_UCHAR *countryCode); | 287 | int wmi_set_country(struct wmi_t *wmip, A_UCHAR *countryCode); |
288 | 288 | ||
289 | int wmi_get_keepalive_configured(struct wmi_t *wmip); | 289 | int wmi_get_keepalive_configured(struct wmi_t *wmip); |
290 | A_UINT8 wmi_get_keepalive_cmd(struct wmi_t *wmip); | 290 | u8 wmi_get_keepalive_cmd(struct wmi_t *wmip); |
291 | int wmi_set_keepalive_cmd(struct wmi_t *wmip, A_UINT8 keepaliveInterval); | 291 | int wmi_set_keepalive_cmd(struct wmi_t *wmip, u8 keepaliveInterval); |
292 | 292 | ||
293 | int wmi_set_appie_cmd(struct wmi_t *wmip, A_UINT8 mgmtFrmType, | 293 | int wmi_set_appie_cmd(struct wmi_t *wmip, u8 mgmtFrmType, |
294 | A_UINT8 ieLen,A_UINT8 *ieInfo); | 294 | u8 ieLen,u8 *ieInfo); |
295 | 295 | ||
296 | int wmi_set_halparam_cmd(struct wmi_t *wmip, A_UINT8 *cmd, A_UINT16 dataLen); | 296 | int wmi_set_halparam_cmd(struct wmi_t *wmip, u8 *cmd, A_UINT16 dataLen); |
297 | 297 | ||
298 | A_INT32 wmi_get_rate(A_INT8 rateindex); | 298 | A_INT32 wmi_get_rate(A_INT8 rateindex); |
299 | 299 | ||
@@ -304,7 +304,7 @@ int wmi_set_host_sleep_mode_cmd(struct wmi_t *wmip, WMI_SET_HOST_SLEEP_MODE_CMD | |||
304 | int wmi_set_wow_mode_cmd(struct wmi_t *wmip, WMI_SET_WOW_MODE_CMD *cmd); | 304 | int wmi_set_wow_mode_cmd(struct wmi_t *wmip, WMI_SET_WOW_MODE_CMD *cmd); |
305 | int wmi_get_wow_list_cmd(struct wmi_t *wmip, WMI_GET_WOW_LIST_CMD *cmd); | 305 | int wmi_get_wow_list_cmd(struct wmi_t *wmip, WMI_GET_WOW_LIST_CMD *cmd); |
306 | int wmi_add_wow_pattern_cmd(struct wmi_t *wmip, | 306 | int wmi_add_wow_pattern_cmd(struct wmi_t *wmip, |
307 | WMI_ADD_WOW_PATTERN_CMD *cmd, A_UINT8* pattern, A_UINT8* mask, A_UINT8 pattern_size); | 307 | WMI_ADD_WOW_PATTERN_CMD *cmd, u8 *pattern, u8 *mask, u8 pattern_size); |
308 | int wmi_del_wow_pattern_cmd(struct wmi_t *wmip, | 308 | int wmi_del_wow_pattern_cmd(struct wmi_t *wmip, |
309 | WMI_DEL_WOW_PATTERN_CMD *cmd); | 309 | WMI_DEL_WOW_PATTERN_CMD *cmd); |
310 | int wmi_set_wsc_status_cmd(struct wmi_t *wmip, A_UINT32 status); | 310 | int wmi_set_wsc_status_cmd(struct wmi_t *wmip, A_UINT32 status); |
@@ -313,13 +313,13 @@ int | |||
313 | wmi_set_params_cmd(struct wmi_t *wmip, A_UINT32 opcode, A_UINT32 length, char *buffer); | 313 | wmi_set_params_cmd(struct wmi_t *wmip, A_UINT32 opcode, A_UINT32 length, char *buffer); |
314 | 314 | ||
315 | int | 315 | int |
316 | wmi_set_mcast_filter_cmd(struct wmi_t *wmip, A_UINT8 dot1, A_UINT8 dot2, A_UINT8 dot3, A_UINT8 dot4); | 316 | wmi_set_mcast_filter_cmd(struct wmi_t *wmip, u8 dot1, u8 dot2, u8 dot3, u8 dot4); |
317 | 317 | ||
318 | int | 318 | int |
319 | wmi_del_mcast_filter_cmd(struct wmi_t *wmip, A_UINT8 dot1, A_UINT8 dot2, A_UINT8 dot3, A_UINT8 dot4); | 319 | wmi_del_mcast_filter_cmd(struct wmi_t *wmip, u8 dot1, u8 dot2, u8 dot3, u8 dot4); |
320 | 320 | ||
321 | int | 321 | int |
322 | wmi_mcast_filter_cmd(struct wmi_t *wmip, A_UINT8 enable); | 322 | wmi_mcast_filter_cmd(struct wmi_t *wmip, u8 enable); |
323 | 323 | ||
324 | bss_t * | 324 | bss_t * |
325 | wmi_find_Ssidnode (struct wmi_t *wmip, A_UCHAR *pSsid, | 325 | wmi_find_Ssidnode (struct wmi_t *wmip, A_UCHAR *pSsid, |
@@ -346,8 +346,8 @@ void wmi_scan_indication (struct wmi_t *wmip); | |||
346 | int | 346 | int |
347 | wmi_set_target_event_report_cmd(struct wmi_t *wmip, WMI_SET_TARGET_EVENT_REPORT_CMD* cmd); | 347 | wmi_set_target_event_report_cmd(struct wmi_t *wmip, WMI_SET_TARGET_EVENT_REPORT_CMD* cmd); |
348 | 348 | ||
349 | bss_t *wmi_rm_current_bss (struct wmi_t *wmip, A_UINT8 *id); | 349 | bss_t *wmi_rm_current_bss (struct wmi_t *wmip, u8 *id); |
350 | int wmi_add_current_bss (struct wmi_t *wmip, A_UINT8 *id, bss_t *bss); | 350 | int wmi_add_current_bss (struct wmi_t *wmip, u8 *id, bss_t *bss); |
351 | 351 | ||
352 | 352 | ||
353 | /* | 353 | /* |
@@ -357,22 +357,21 @@ int | |||
357 | wmi_ap_profile_commit(struct wmi_t *wmip, WMI_CONNECT_CMD *p); | 357 | wmi_ap_profile_commit(struct wmi_t *wmip, WMI_CONNECT_CMD *p); |
358 | 358 | ||
359 | int | 359 | int |
360 | wmi_ap_set_hidden_ssid(struct wmi_t *wmip, A_UINT8 hidden_ssid); | 360 | wmi_ap_set_hidden_ssid(struct wmi_t *wmip, u8 hidden_ssid); |
361 | 361 | ||
362 | int | 362 | int |
363 | wmi_ap_set_num_sta(struct wmi_t *wmip, A_UINT8 num_sta); | 363 | wmi_ap_set_num_sta(struct wmi_t *wmip, u8 num_sta); |
364 | 364 | ||
365 | int | 365 | int |
366 | wmi_ap_set_acl_policy(struct wmi_t *wmip, A_UINT8 policy); | 366 | wmi_ap_set_acl_policy(struct wmi_t *wmip, u8 policy); |
367 | 367 | ||
368 | int | 368 | int |
369 | wmi_ap_acl_mac_list(struct wmi_t *wmip, WMI_AP_ACL_MAC_CMD *a); | 369 | wmi_ap_acl_mac_list(struct wmi_t *wmip, WMI_AP_ACL_MAC_CMD *a); |
370 | 370 | ||
371 | A_UINT8 | 371 | u8 acl_add_del_mac(WMI_AP_ACL *a, WMI_AP_ACL_MAC_CMD *acl); |
372 | acl_add_del_mac(WMI_AP_ACL *a, WMI_AP_ACL_MAC_CMD *acl); | ||
373 | 372 | ||
374 | int | 373 | int |
375 | wmi_ap_set_mlme(struct wmi_t *wmip, A_UINT8 cmd, A_UINT8 *mac, A_UINT16 reason); | 374 | wmi_ap_set_mlme(struct wmi_t *wmip, u8 cmd, u8 *mac, A_UINT16 reason); |
376 | 375 | ||
377 | int | 376 | int |
378 | wmi_set_pvb_cmd(struct wmi_t *wmip, A_UINT16 aid, bool flag); | 377 | wmi_set_pvb_cmd(struct wmi_t *wmip, A_UINT16 aid, bool flag); |
@@ -384,34 +383,34 @@ int | |||
384 | wmi_ap_bgscan_time(struct wmi_t *wmip, A_UINT32 period, A_UINT32 dwell); | 383 | wmi_ap_bgscan_time(struct wmi_t *wmip, A_UINT32 period, A_UINT32 dwell); |
385 | 384 | ||
386 | int | 385 | int |
387 | wmi_ap_set_dtim(struct wmi_t *wmip, A_UINT8 dtim); | 386 | wmi_ap_set_dtim(struct wmi_t *wmip, u8 dtim); |
388 | 387 | ||
389 | int | 388 | int |
390 | wmi_ap_set_rateset(struct wmi_t *wmip, A_UINT8 rateset); | 389 | wmi_ap_set_rateset(struct wmi_t *wmip, u8 rateset); |
391 | 390 | ||
392 | int | 391 | int |
393 | wmi_set_ht_cap_cmd(struct wmi_t *wmip, WMI_SET_HT_CAP_CMD *cmd); | 392 | wmi_set_ht_cap_cmd(struct wmi_t *wmip, WMI_SET_HT_CAP_CMD *cmd); |
394 | 393 | ||
395 | int | 394 | int |
396 | wmi_set_ht_op_cmd(struct wmi_t *wmip, A_UINT8 sta_chan_width); | 395 | wmi_set_ht_op_cmd(struct wmi_t *wmip, u8 sta_chan_width); |
397 | 396 | ||
398 | int | 397 | int |
399 | wmi_send_hci_cmd(struct wmi_t *wmip, A_UINT8 *buf, A_UINT16 sz); | 398 | wmi_send_hci_cmd(struct wmi_t *wmip, u8 *buf, A_UINT16 sz); |
400 | 399 | ||
401 | int | 400 | int |
402 | wmi_set_tx_select_rates_cmd(struct wmi_t *wmip, A_UINT32 *pMaskArray); | 401 | wmi_set_tx_select_rates_cmd(struct wmi_t *wmip, A_UINT32 *pMaskArray); |
403 | 402 | ||
404 | int | 403 | int |
405 | wmi_setup_aggr_cmd(struct wmi_t *wmip, A_UINT8 tid); | 404 | wmi_setup_aggr_cmd(struct wmi_t *wmip, u8 tid); |
406 | 405 | ||
407 | int | 406 | int |
408 | wmi_delete_aggr_cmd(struct wmi_t *wmip, A_UINT8 tid, bool uplink); | 407 | wmi_delete_aggr_cmd(struct wmi_t *wmip, u8 tid, bool uplink); |
409 | 408 | ||
410 | int | 409 | int |
411 | wmi_allow_aggr_cmd(struct wmi_t *wmip, A_UINT16 tx_tidmask, A_UINT16 rx_tidmask); | 410 | wmi_allow_aggr_cmd(struct wmi_t *wmip, A_UINT16 tx_tidmask, A_UINT16 rx_tidmask); |
412 | 411 | ||
413 | int | 412 | int |
414 | wmi_set_rx_frame_format_cmd(struct wmi_t *wmip, A_UINT8 rxMetaVersion, bool rxDot11Hdr, bool defragOnHost); | 413 | wmi_set_rx_frame_format_cmd(struct wmi_t *wmip, u8 rxMetaVersion, bool rxDot11Hdr, bool defragOnHost); |
415 | 414 | ||
416 | int | 415 | int |
417 | wmi_set_thin_mode_cmd(struct wmi_t *wmip, bool bThinMode); | 416 | wmi_set_thin_mode_cmd(struct wmi_t *wmip, bool bThinMode); |
@@ -420,7 +419,7 @@ int | |||
420 | wmi_set_wlan_conn_precedence_cmd(struct wmi_t *wmip, BT_WLAN_CONN_PRECEDENCE precedence); | 419 | wmi_set_wlan_conn_precedence_cmd(struct wmi_t *wmip, BT_WLAN_CONN_PRECEDENCE precedence); |
421 | 420 | ||
422 | int | 421 | int |
423 | wmi_set_pmk_cmd(struct wmi_t *wmip, A_UINT8 *pmk); | 422 | wmi_set_pmk_cmd(struct wmi_t *wmip, u8 *pmk); |
424 | 423 | ||
425 | A_UINT16 | 424 | A_UINT16 |
426 | wmi_ieee2freq (int chan); | 425 | wmi_ieee2freq (int chan); |