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()
64 int wl1251_acx_default_key(struct wl1251 *wl, u8 key_id) in wl1251_acx_default_key() argument
77 ret = wl1251_cmd_configure(wl, DOT11_DEFAULT_KEY, in wl1251_acx_default_key()
84 wl->default_key = key_id; in wl1251_acx_default_key()
91 int wl1251_acx_wake_up_conditions(struct wl1251 *wl, u8 wake_up_event, in wl1251_acx_wake_up_conditions() argument
106 ret = wl1251_cmd_configure(wl, ACX_WAKE_UP_CONDITIONS, in wl1251_acx_wake_up_conditions()
118 int wl1251_acx_sleep_auth(struct wl1251 *wl, u8 sleep_auth) in wl1251_acx_sleep_auth() argument
131 ret = wl1251_cmd_configure(wl, ACX_SLEEP_AUTH, auth, sizeof(*auth)); in wl1251_acx_sleep_auth()
137 int wl1251_acx_fw_version(struct wl1251 *wl, char *buf, size_t len) in wl1251_acx_fw_version() argument
148 ret = wl1251_cmd_interrogate(wl, ACX_FW_REV, rev, sizeof(*rev)); in wl1251_acx_fw_version()
169 int wl1251_acx_tx_power(struct wl1251 *wl, int power) in wl1251_acx_tx_power() argument
185 ret = wl1251_cmd_configure(wl, DOT11_CUR_TX_PWR, acx, sizeof(*acx)); in wl1251_acx_tx_power()
196 int wl1251_acx_feature_cfg(struct wl1251 *wl, u32 data_flow_options) in wl1251_acx_feature_cfg() argument
211 ret = wl1251_cmd_configure(wl, ACX_FEATURE_CFG, in wl1251_acx_feature_cfg()
223 int wl1251_acx_mem_map(struct wl1251 *wl, struct acx_header *mem_map, in wl1251_acx_mem_map() argument
230 ret = wl1251_cmd_interrogate(wl, ACX_MEM_MAP, mem_map, len); in wl1251_acx_mem_map()
237 int wl1251_acx_data_path_params(struct wl1251 *wl, in wl1251_acx_data_path_params() argument
261 ret = wl1251_cmd_configure(wl, ACX_DATA_PATH_PARAMS, in wl1251_acx_data_path_params()
267 ret = wl1251_cmd_interrogate(wl, ACX_DATA_PATH_PARAMS, in wl1251_acx_data_path_params()
284 int wl1251_acx_rx_msdu_life_time(struct wl1251 *wl, u32 life_time) in wl1251_acx_rx_msdu_life_time() argument
296 ret = wl1251_cmd_configure(wl, DOT11_RX_MSDU_LIFE_TIME, in wl1251_acx_rx_msdu_life_time()
308 int wl1251_acx_rx_config(struct wl1251 *wl, u32 config, u32 filter) in wl1251_acx_rx_config() argument
322 ret = wl1251_cmd_configure(wl, ACX_RX_CFG, in wl1251_acx_rx_config()
334 int wl1251_acx_pd_threshold(struct wl1251 *wl) in wl1251_acx_pd_threshold() argument
347 ret = wl1251_cmd_configure(wl, ACX_PD_THRESHOLD, pd, sizeof(*pd)); in wl1251_acx_pd_threshold()
358 int wl1251_acx_slot(struct wl1251 *wl, enum acx_slot_type slot_time) in wl1251_acx_slot() argument
372 ret = wl1251_cmd_configure(wl, ACX_SLOT, slot, sizeof(*slot)); in wl1251_acx_slot()
383 int wl1251_acx_group_address_tbl(struct wl1251 *wl, bool enable, in wl1251_acx_group_address_tbl() argument
400 ret = wl1251_cmd_configure(wl, DOT11_GROUP_ADDRESS_TBL, in wl1251_acx_group_address_tbl()
412 int wl1251_acx_service_period_timeout(struct wl1251 *wl) in wl1251_acx_service_period_timeout() argument
426 ret = wl1251_cmd_configure(wl, ACX_SERVICE_PERIOD_TIMEOUT, in wl1251_acx_service_period_timeout()
439 int wl1251_acx_rts_threshold(struct wl1251 *wl, u16 rts_threshold) in wl1251_acx_rts_threshold() argument
452 ret = wl1251_cmd_configure(wl, DOT11_RTS_THRESHOLD, rts, sizeof(*rts)); in wl1251_acx_rts_threshold()
463 int wl1251_acx_beacon_filter_opt(struct wl1251 *wl, bool enable_filter) in wl1251_acx_beacon_filter_opt() argument
477 ret = wl1251_cmd_configure(wl, ACX_BEACON_FILTER_OPT, in wl1251_acx_beacon_filter_opt()
489 int wl1251_acx_beacon_filter_table(struct wl1251 *wl) in wl1251_acx_beacon_filter_table() argument
506 ret = wl1251_cmd_configure(wl, ACX_BEACON_FILTER_TABLE, in wl1251_acx_beacon_filter_table()
518 int wl1251_acx_conn_monit_params(struct wl1251 *wl) in wl1251_acx_conn_monit_params() argument
532 ret = wl1251_cmd_configure(wl, ACX_CONN_MONIT_PARAMS, in wl1251_acx_conn_monit_params()
545 int wl1251_acx_sg_enable(struct wl1251 *wl) in wl1251_acx_sg_enable() argument
558 ret = wl1251_cmd_configure(wl, ACX_SG_ENABLE, pta, sizeof(*pta)); in wl1251_acx_sg_enable()
569 int wl1251_acx_sg_cfg(struct wl1251 *wl) in wl1251_acx_sg_cfg() argument
610 ret = wl1251_cmd_configure(wl, ACX_SG_CFG, param, sizeof(*param)); in wl1251_acx_sg_cfg()
621 int wl1251_acx_cca_threshold(struct wl1251 *wl) in wl1251_acx_cca_threshold() argument
635 ret = wl1251_cmd_configure(wl, ACX_CCA_THRESHOLD, in wl1251_acx_cca_threshold()
644 int wl1251_acx_bcn_dtim_options(struct wl1251 *wl) in wl1251_acx_bcn_dtim_options() argument
660 ret = wl1251_cmd_configure(wl, ACX_BCN_DTIM_OPTIONS, bb, sizeof(*bb)); in wl1251_acx_bcn_dtim_options()
671 int wl1251_acx_aid(struct wl1251 *wl, u16 aid) in wl1251_acx_aid() argument
684 ret = wl1251_cmd_configure(wl, ACX_AID, acx_aid, sizeof(*acx_aid)); in wl1251_acx_aid()
695 int wl1251_acx_event_mbox_mask(struct wl1251 *wl, u32 event_mask) in wl1251_acx_event_mbox_mask() argument
711 ret = wl1251_cmd_configure(wl, ACX_EVENT_MBOX_MASK, in wl1251_acx_event_mbox_mask()
723 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight, in wl1251_acx_low_rssi() argument
740 ret = wl1251_cmd_configure(wl, ACX_LOW_RSSI, rssi, sizeof(*rssi)); in wl1251_acx_low_rssi()
748 int wl1251_acx_set_preamble(struct wl1251 *wl, enum acx_preamble_type preamble) in wl1251_acx_set_preamble() argument
761 ret = wl1251_cmd_configure(wl, ACX_PREAMBLE_TYPE, acx, sizeof(*acx)); in wl1251_acx_set_preamble()
772 int wl1251_acx_cts_protect(struct wl1251 *wl, in wl1251_acx_cts_protect() argument
786 ret = wl1251_cmd_configure(wl, ACX_CTS_PROTECTION, acx, sizeof(*acx)); in wl1251_acx_cts_protect()
797 int wl1251_acx_tsf_info(struct wl1251 *wl, u64 *mactime) in wl1251_acx_tsf_info() argument
806 ret = wl1251_cmd_interrogate(wl, ACX_TSF_INFO, in wl1251_acx_tsf_info()
821 int wl1251_acx_statistics(struct wl1251 *wl, struct acx_statistics *stats) in wl1251_acx_statistics() argument
827 ret = wl1251_cmd_interrogate(wl, ACX_STATISTICS, stats, in wl1251_acx_statistics()
837 int wl1251_acx_rate_policies(struct wl1251 *wl) in wl1251_acx_rate_policies() argument
861 ret = wl1251_cmd_configure(wl, ACX_RATE_POLICY, acx, sizeof(*acx)); in wl1251_acx_rate_policies()
872 int wl1251_acx_mem_cfg(struct wl1251 *wl) in wl1251_acx_mem_cfg() argument
905 ret = wl1251_cmd_configure(wl, ACX_MEM_CFG, mem_conf, in wl1251_acx_mem_cfg()
917 int wl1251_acx_wr_tbtt_and_dtim(struct wl1251 *wl, u16 tbtt, u8 dtim) in wl1251_acx_wr_tbtt_and_dtim() argument
931 ret = wl1251_cmd_configure(wl, ACX_WR_TBTT_AND_DTIM, in wl1251_acx_wr_tbtt_and_dtim()
943 int wl1251_acx_bet_enable(struct wl1251 *wl, enum wl1251_acx_bet_mode mode, in wl1251_acx_bet_enable() argument
958 ret = wl1251_cmd_configure(wl, ACX_BET_ENABLE, acx, sizeof(*acx)); in wl1251_acx_bet_enable()
969 int wl1251_acx_arp_ip_filter(struct wl1251 *wl, bool enable, __be32 address) in wl1251_acx_arp_ip_filter() argument
986 ret = wl1251_cmd_configure(wl, ACX_ARP_IP_FILTER, in wl1251_acx_arp_ip_filter()
995 int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max, in wl1251_acx_ac_cfg() argument
1014 ret = wl1251_cmd_configure(wl, ACX_AC_CFG, acx, sizeof(*acx)); in wl1251_acx_ac_cfg()
1025 int wl1251_acx_tid_cfg(struct wl1251 *wl, u8 queue, in wl1251_acx_tid_cfg() argument
1047 ret = wl1251_cmd_configure(wl, ACX_TID_CFG, acx, sizeof(*acx)); in wl1251_acx_tid_cfg()