Lines Matching refs:wid_cnt
275 u32 wid_cnt = 0; in wilc_send_connect_wid() local
281 wid_list[wid_cnt].id = WID_SET_MFP; in wilc_send_connect_wid()
282 wid_list[wid_cnt].type = WID_CHAR; in wilc_send_connect_wid()
283 wid_list[wid_cnt].size = sizeof(char); in wilc_send_connect_wid()
284 wid_list[wid_cnt].val = (s8 *)&conn_attr->mfp_type; in wilc_send_connect_wid()
285 wid_cnt++; in wilc_send_connect_wid()
287 wid_list[wid_cnt].id = WID_INFO_ELEMENT_ASSOCIATE; in wilc_send_connect_wid()
288 wid_list[wid_cnt].type = WID_BIN_DATA; in wilc_send_connect_wid()
289 wid_list[wid_cnt].val = conn_attr->req_ies; in wilc_send_connect_wid()
290 wid_list[wid_cnt].size = conn_attr->req_ies_len; in wilc_send_connect_wid()
291 wid_cnt++; in wilc_send_connect_wid()
293 wid_list[wid_cnt].id = WID_11I_MODE; in wilc_send_connect_wid()
294 wid_list[wid_cnt].type = WID_CHAR; in wilc_send_connect_wid()
295 wid_list[wid_cnt].size = sizeof(char); in wilc_send_connect_wid()
296 wid_list[wid_cnt].val = (s8 *)&conn_attr->security; in wilc_send_connect_wid()
297 wid_cnt++; in wilc_send_connect_wid()
299 wid_list[wid_cnt].id = WID_AUTH_TYPE; in wilc_send_connect_wid()
300 wid_list[wid_cnt].type = WID_CHAR; in wilc_send_connect_wid()
301 wid_list[wid_cnt].size = sizeof(char); in wilc_send_connect_wid()
302 wid_list[wid_cnt].val = (s8 *)&conn_attr->auth_type; in wilc_send_connect_wid()
303 wid_cnt++; in wilc_send_connect_wid()
305 wid_list[wid_cnt].id = WID_JOIN_REQ_EXTENDED; in wilc_send_connect_wid()
306 wid_list[wid_cnt].type = WID_STR; in wilc_send_connect_wid()
307 wid_list[wid_cnt].size = sizeof(*bss_param); in wilc_send_connect_wid()
308 wid_list[wid_cnt].val = (u8 *)bss_param; in wilc_send_connect_wid()
309 wid_cnt++; in wilc_send_connect_wid()
311 result = wilc_send_config_pkt(vif, WILC_SET_CFG, wid_list, wid_cnt); in wilc_send_connect_wid()
761 u32 wid_cnt = 0, result; in wilc_get_statistics() local
763 wid_list[wid_cnt].id = WID_LINKSPEED; in wilc_get_statistics()
764 wid_list[wid_cnt].type = WID_CHAR; in wilc_get_statistics()
765 wid_list[wid_cnt].size = sizeof(char); in wilc_get_statistics()
766 wid_list[wid_cnt].val = (s8 *)&stats->link_speed; in wilc_get_statistics()
767 wid_cnt++; in wilc_get_statistics()
769 wid_list[wid_cnt].id = WID_RSSI; in wilc_get_statistics()
770 wid_list[wid_cnt].type = WID_CHAR; in wilc_get_statistics()
771 wid_list[wid_cnt].size = sizeof(char); in wilc_get_statistics()
772 wid_list[wid_cnt].val = (s8 *)&stats->rssi; in wilc_get_statistics()
773 wid_cnt++; in wilc_get_statistics()
775 wid_list[wid_cnt].id = WID_SUCCESS_FRAME_COUNT; in wilc_get_statistics()
776 wid_list[wid_cnt].type = WID_INT; in wilc_get_statistics()
777 wid_list[wid_cnt].size = sizeof(u32); in wilc_get_statistics()
778 wid_list[wid_cnt].val = (s8 *)&stats->tx_cnt; in wilc_get_statistics()
779 wid_cnt++; in wilc_get_statistics()
781 wid_list[wid_cnt].id = WID_RECEIVED_FRAGMENT_COUNT; in wilc_get_statistics()
782 wid_list[wid_cnt].type = WID_INT; in wilc_get_statistics()
783 wid_list[wid_cnt].size = sizeof(u32); in wilc_get_statistics()
784 wid_list[wid_cnt].val = (s8 *)&stats->rx_cnt; in wilc_get_statistics()
785 wid_cnt++; in wilc_get_statistics()
787 wid_list[wid_cnt].id = WID_FAILED_COUNT; in wilc_get_statistics()
788 wid_list[wid_cnt].type = WID_INT; in wilc_get_statistics()
789 wid_list[wid_cnt].size = sizeof(u32); in wilc_get_statistics()
790 wid_list[wid_cnt].val = (s8 *)&stats->tx_fail_cnt; in wilc_get_statistics()
791 wid_cnt++; in wilc_get_statistics()
793 result = wilc_send_config_pkt(vif, WILC_GET_CFG, wid_list, wid_cnt); in wilc_get_statistics()