Lines Matching refs:wl
11 int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod, in wl1251_acx_frame_rates() argument
28 ret = wl1251_cmd_configure(wl, ACX_FW_GEN_FRAME_RATES, in wl1251_acx_frame_rates()
41 int wl1251_acx_station_id(struct wl1251 *wl) in wl1251_acx_station_id() argument
53 mac->mac[i] = wl->mac_addr[ETH_ALEN - 1 - i]; in wl1251_acx_station_id()
55 ret = wl1251_cmd_configure(wl, DOT11_STATION_ID, mac, sizeof(*mac)); in wl1251_acx_station_id()
61 int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id) in wl1251_acx_default_key() argument
74 ret = wl1251_cmd_configure(wl, DOT11_DEFAULT_KEY, in wl1251_acx_default_key()
81 wl->default_key = key_id; in wl1251_acx_default_key()
88 int wl1251_acx_wake_up_conditions(struct wl1251 *wl, u8 wake_up_event, in wl1251_acx_wake_up_conditions() argument
103 ret = wl1251_cmd_configure(wl, ACX_WAKE_UP_CONDITIONS, in wl1251_acx_wake_up_conditions()
115 int wl1251_acx_sleep_auth(struct wl1251 *wl, u8 sleep_auth) in wl1251_acx_sleep_auth() argument
128 ret = wl1251_cmd_configure(wl, ACX_SLEEP_AUTH, auth, sizeof(*auth)); in wl1251_acx_sleep_auth()
134 int wl1251_acx_fw_version(struct wl1251 *wl, char *buf, size_t len) in wl1251_acx_fw_version() argument
145 ret = wl1251_cmd_interrogate(wl, ACX_FW_REV, rev, sizeof(*rev)); in wl1251_acx_fw_version()
166 int wl1251_acx_tx_power(struct wl1251 *wl, int power) in wl1251_acx_tx_power() argument
182 ret = wl1251_cmd_configure(wl, DOT11_CUR_TX_PWR, acx, sizeof(*acx)); in wl1251_acx_tx_power()
193 int wl1251_acx_feature_cfg(struct wl1251 *wl, u32 data_flow_options) in wl1251_acx_feature_cfg() argument
208 ret = wl1251_cmd_configure(wl, ACX_FEATURE_CFG, in wl1251_acx_feature_cfg()
220 int wl1251_acx_mem_map(struct wl1251 *wl, struct acx_header *mem_map, in wl1251_acx_mem_map() argument
227 ret = wl1251_cmd_interrogate(wl, ACX_MEM_MAP, mem_map, len); in wl1251_acx_mem_map()
234 int wl1251_acx_data_path_params(struct wl1251 *wl, in wl1251_acx_data_path_params() argument
258 ret = wl1251_cmd_configure(wl, ACX_DATA_PATH_PARAMS, in wl1251_acx_data_path_params()
264 ret = wl1251_cmd_interrogate(wl, ACX_DATA_PATH_PARAMS, in wl1251_acx_data_path_params()
281 int wl1251_acx_rx_msdu_life_time(struct wl1251 *wl, u32 life_time) in wl1251_acx_rx_msdu_life_time() argument
293 ret = wl1251_cmd_configure(wl, DOT11_RX_MSDU_LIFE_TIME, in wl1251_acx_rx_msdu_life_time()
305 int wl1251_acx_rx_config(struct wl1251 *wl, u32 config, u32 filter) in wl1251_acx_rx_config() argument
319 ret = wl1251_cmd_configure(wl, ACX_RX_CFG, in wl1251_acx_rx_config()
331 int wl1251_acx_pd_threshold(struct wl1251 *wl) in wl1251_acx_pd_threshold() argument
344 ret = wl1251_cmd_configure(wl, ACX_PD_THRESHOLD, pd, sizeof(*pd)); in wl1251_acx_pd_threshold()
355 int wl1251_acx_slot(struct wl1251 *wl, enum acx_slot_type slot_time) in wl1251_acx_slot() argument
369 ret = wl1251_cmd_configure(wl, ACX_SLOT, slot, sizeof(*slot)); in wl1251_acx_slot()
380 int wl1251_acx_group_address_tbl(struct wl1251 *wl, bool enable, in wl1251_acx_group_address_tbl() argument
397 ret = wl1251_cmd_configure(wl, DOT11_GROUP_ADDRESS_TBL, in wl1251_acx_group_address_tbl()
409 int wl1251_acx_service_period_timeout(struct wl1251 *wl) in wl1251_acx_service_period_timeout() argument
423 ret = wl1251_cmd_configure(wl, ACX_SERVICE_PERIOD_TIMEOUT, in wl1251_acx_service_period_timeout()
436 int wl1251_acx_rts_threshold(struct wl1251 *wl, u16 rts_threshold) in wl1251_acx_rts_threshold() argument
449 ret = wl1251_cmd_configure(wl, DOT11_RTS_THRESHOLD, rts, sizeof(*rts)); in wl1251_acx_rts_threshold()
460 int wl1251_acx_beacon_filter_opt(struct wl1251 *wl, bool enable_filter) in wl1251_acx_beacon_filter_opt() argument
474 ret = wl1251_cmd_configure(wl, ACX_BEACON_FILTER_OPT, in wl1251_acx_beacon_filter_opt()
486 int wl1251_acx_beacon_filter_table(struct wl1251 *wl) in wl1251_acx_beacon_filter_table() argument
503 ret = wl1251_cmd_configure(wl, ACX_BEACON_FILTER_TABLE, in wl1251_acx_beacon_filter_table()
515 int wl1251_acx_conn_monit_params(struct wl1251 *wl) in wl1251_acx_conn_monit_params() argument
529 ret = wl1251_cmd_configure(wl, ACX_CONN_MONIT_PARAMS, in wl1251_acx_conn_monit_params()
542 int wl1251_acx_sg_enable(struct wl1251 *wl) in wl1251_acx_sg_enable() argument
555 ret = wl1251_cmd_configure(wl, ACX_SG_ENABLE, pta, sizeof(*pta)); in wl1251_acx_sg_enable()
566 int wl1251_acx_sg_cfg(struct wl1251 *wl) in wl1251_acx_sg_cfg() argument
607 ret = wl1251_cmd_configure(wl, ACX_SG_CFG, param, sizeof(*param)); in wl1251_acx_sg_cfg()
618 int wl1251_acx_cca_threshold(struct wl1251 *wl) in wl1251_acx_cca_threshold() argument
632 ret = wl1251_cmd_configure(wl, ACX_CCA_THRESHOLD, in wl1251_acx_cca_threshold()
641 int wl1251_acx_bcn_dtim_options(struct wl1251 *wl) in wl1251_acx_bcn_dtim_options() argument
657 ret = wl1251_cmd_configure(wl, ACX_BCN_DTIM_OPTIONS, bb, sizeof(*bb)); in wl1251_acx_bcn_dtim_options()
668 int wl1251_acx_aid(struct wl1251 *wl, u16 aid) in wl1251_acx_aid() argument
681 ret = wl1251_cmd_configure(wl, ACX_AID, acx_aid, sizeof(*acx_aid)); in wl1251_acx_aid()
692 int wl1251_acx_event_mbox_mask(struct wl1251 *wl, u32 event_mask) in wl1251_acx_event_mbox_mask() argument
708 ret = wl1251_cmd_configure(wl, ACX_EVENT_MBOX_MASK, in wl1251_acx_event_mbox_mask()
720 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight, in wl1251_acx_low_rssi() argument
737 ret = wl1251_cmd_configure(wl, ACX_LOW_RSSI, rssi, sizeof(*rssi)); in wl1251_acx_low_rssi()
745 int wl1251_acx_set_preamble(struct wl1251 *wl, enum acx_preamble_type preamble) in wl1251_acx_set_preamble() argument
758 ret = wl1251_cmd_configure(wl, ACX_PREAMBLE_TYPE, acx, sizeof(*acx)); in wl1251_acx_set_preamble()
769 int wl1251_acx_cts_protect(struct wl1251 *wl, in wl1251_acx_cts_protect() argument
783 ret = wl1251_cmd_configure(wl, ACX_CTS_PROTECTION, acx, sizeof(*acx)); in wl1251_acx_cts_protect()
794 int wl1251_acx_tsf_info(struct wl1251 *wl, u64 *mactime) in wl1251_acx_tsf_info() argument
803 ret = wl1251_cmd_interrogate(wl, ACX_TSF_INFO, in wl1251_acx_tsf_info()
818 int wl1251_acx_statistics(struct wl1251 *wl, struct acx_statistics *stats) in wl1251_acx_statistics() argument
824 ret = wl1251_cmd_interrogate(wl, ACX_STATISTICS, stats, in wl1251_acx_statistics()
834 int wl1251_acx_rate_policies(struct wl1251 *wl) in wl1251_acx_rate_policies() argument
858 ret = wl1251_cmd_configure(wl, ACX_RATE_POLICY, acx, sizeof(*acx)); in wl1251_acx_rate_policies()
869 int wl1251_acx_mem_cfg(struct wl1251 *wl) in wl1251_acx_mem_cfg() argument
902 ret = wl1251_cmd_configure(wl, ACX_MEM_CFG, mem_conf, in wl1251_acx_mem_cfg()
914 int wl1251_acx_wr_tbtt_and_dtim(struct wl1251 *wl, u16 tbtt, u8 dtim) in wl1251_acx_wr_tbtt_and_dtim() argument
928 ret = wl1251_cmd_configure(wl, ACX_WR_TBTT_AND_DTIM, in wl1251_acx_wr_tbtt_and_dtim()
940 int wl1251_acx_bet_enable(struct wl1251 *wl, enum wl1251_acx_bet_mode mode, in wl1251_acx_bet_enable() argument
955 ret = wl1251_cmd_configure(wl, ACX_BET_ENABLE, acx, sizeof(*acx)); in wl1251_acx_bet_enable()
966 int wl1251_acx_arp_ip_filter(struct wl1251 *wl, bool enable, __be32 address) in wl1251_acx_arp_ip_filter() argument
983 ret = wl1251_cmd_configure(wl, ACX_ARP_IP_FILTER, in wl1251_acx_arp_ip_filter()
992 int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max, in wl1251_acx_ac_cfg() argument
1011 ret = wl1251_cmd_configure(wl, ACX_AC_CFG, acx, sizeof(*acx)); in wl1251_acx_ac_cfg()
1022 int wl1251_acx_tid_cfg(struct wl1251 *wl, u8 queue, in wl1251_acx_tid_cfg() argument
1044 ret = wl1251_cmd_configure(wl, ACX_TID_CFG, acx, sizeof(*acx)); in wl1251_acx_tid_cfg()