Home
last modified time | relevance | path

Searched refs:iwm_softc (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/sys/dev/iwm/
H A Dif_iwm_pcie_trans.h106 extern uint32_t iwm_read_prph(struct iwm_softc *sc, uint32_t addr);
107 extern void iwm_write_prph(struct iwm_softc *sc, uint32_t addr, uint32_t val);
108 extern void iwm_write_prph64(struct iwm_softc *sc, uint64_t addr,
110 extern int iwm_poll_prph(struct iwm_softc *sc, uint32_t addr, uint32_t bits,
112 extern int iwm_read_mem(struct iwm_softc *sc, uint32_t addr, void *buf, int dwords);
113 extern int iwm_write_mem(struct iwm_softc *sc, uint32_t addr, const void *buf,
115 extern int iwm_write_mem32(struct iwm_softc *sc, uint32_t addr, uint32_t val);
116 extern int iwm_poll_bit(struct iwm_softc *sc, int reg,
118 extern int iwm_nic_lock(struct iwm_softc *sc);
119 extern void iwm_nic_unlock(struct iwm_softc *sc);
[all …]
H A Dif_iwm_util.h108 extern int iwm_send_cmd(struct iwm_softc *sc, struct iwm_host_cmd *hcmd);
109 extern int iwm_send_cmd_pdu(struct iwm_softc *sc, uint32_t id,
112 extern int iwm_send_cmd_status(struct iwm_softc *sc,
114 extern int iwm_send_cmd_pdu_status(struct iwm_softc *sc, uint32_t id,
116 extern void iwm_free_resp(struct iwm_softc *sc, struct iwm_host_cmd *hcmd);
122 extern int iwm_send_lq_cmd(struct iwm_softc *sc, struct iwm_lq_cmd *lq,
125 extern boolean_t iwm_rx_diversity_allowed(struct iwm_softc *sc);
128 extern int iwm_enable_txq(struct iwm_softc *sc, int sta_id, int qid, int fifo);
129 extern int iwm_flush_tx_path(struct iwm_softc *sc, uint32_t tfd_msk,
133 iwm_get_valid_tx_ant(struct iwm_softc *sc) in iwm_get_valid_tx_ant()
[all …]
H A Dif_iwm_pcie_trans.c169 iwm_read_prph(struct iwm_softc *sc, uint32_t addr) in iwm_read_prph()
178 iwm_write_prph(struct iwm_softc *sc, uint32_t addr, uint32_t val) in iwm_write_prph()
187 iwm_write_prph64(struct iwm_softc *sc, uint64_t addr, uint64_t val) in iwm_write_prph64()
194 iwm_poll_prph(struct iwm_softc *sc, uint32_t addr, uint32_t bits, uint32_t mask, in iwm_poll_prph()
210 iwm_read_mem(struct iwm_softc *sc, uint32_t addr, void *buf, int dwords) in iwm_read_mem()
229 iwm_write_mem(struct iwm_softc *sc, uint32_t addr, const void *buf, int dwords) in iwm_write_mem()
251 iwm_write_mem32(struct iwm_softc *sc, uint32_t addr, uint32_t val) in iwm_write_mem32()
257 iwm_poll_bit(struct iwm_softc *sc, int reg, in iwm_poll_bit()
273 iwm_nic_lock(struct iwm_softc *sc) in iwm_nic_lock()
302 iwm_nic_unlock(struct iwm_softc *sc) in iwm_nic_unlock()
[all …]
H A Dif_iwm_sta.h208 extern int iwm_sta_send_to_fw(struct iwm_softc *sc, struct iwm_node *in,
210 extern int iwm_add_sta(struct iwm_softc *sc, struct iwm_node *in);
211 extern int iwm_update_sta(struct iwm_softc *sc, struct iwm_node *in);
212 extern int iwm_rm_sta(struct iwm_softc *sc, struct ieee80211vap *vap,
214 extern int iwm_rm_sta_id(struct iwm_softc *sc, struct ieee80211vap *vap);
216 extern int iwm_add_aux_sta(struct iwm_softc *sc);
217 extern void iwm_del_aux_sta(struct iwm_softc *sc);
219 extern int iwm_drain_sta(struct iwm_softc *sc, struct iwm_vap *ivp,
H A Dif_iwm_scan.h108 extern int iwm_lmac_scan(struct iwm_softc *);
109 extern int iwm_config_umac_scan(struct iwm_softc *);
110 extern int iwm_umac_scan(struct iwm_softc *);
111 extern int iwm_scan_stop_wait(struct iwm_softc *);
112 extern void iwm_rx_lmac_scan_complete_notif(struct iwm_softc *,
114 extern void iwm_rx_umac_scan_complete_notif(struct iwm_softc *,
H A Dif_iwm.c268 static int iwm_store_cscheme(struct iwm_softc *, const uint8_t *, size_t);
269 static int iwm_firmware_store_section(struct iwm_softc *,
272 static int iwm_set_default_calib(struct iwm_softc *, const void *);
274 static int iwm_read_firmware(struct iwm_softc *);
275 static int iwm_alloc_fwmem(struct iwm_softc *);
276 static int iwm_alloc_sched(struct iwm_softc *);
277 static int iwm_alloc_kw(struct iwm_softc *);
278 static int iwm_alloc_ict(struct iwm_softc *);
279 static int iwm_alloc_rx_ring(struct iwm_softc *, struct iwm_rx_ring *);
280 static void iwm_reset_rx_ring(struct iwm_softc *, struct iwm_rx_ring *);
[all …]
H A Dif_iwm_power.c154 iwm_beacon_filter_send_cmd(struct iwm_softc *sc, in iwm_beacon_filter_send_cmd()
201 iwm_beacon_filter_set_cqm_params(struct iwm_softc *sc, in iwm_beacon_filter_set_cqm_params()
208 iwm_power_log(struct iwm_softc *sc, struct iwm_mac_power_cmd *cmd) in iwm_power_log()
233 iwm_power_is_radar(struct iwm_softc *sc) in iwm_power_is_radar()
249 iwm_power_config_skip_dtim(struct iwm_softc *sc, in iwm_power_config_skip_dtim()
279 iwm_power_build_cmd(struct iwm_softc *sc, struct iwm_vap *ivp, in iwm_power_build_cmd()
327 iwm_power_send_cmd(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_power_send_cmd()
339 _iwm_enable_beacon_filter(struct iwm_softc *sc, struct iwm_vap *ivp, in _iwm_enable_beacon_filter()
354 iwm_enable_beacon_filter(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_enable_beacon_filter()
365 iwm_disable_beacon_filter(struct iwm_softc *sc) in iwm_disable_beacon_filter()
[all …]
H A Dif_iwm_led.c140 iwm_led_enable(struct iwm_softc *sc) in iwm_led_enable()
147 iwm_led_disable(struct iwm_softc *sc) in iwm_led_disable()
153 iwm_led_is_enabled(struct iwm_softc *sc) in iwm_led_is_enabled()
161 struct iwm_softc *sc = arg; in iwm_led_blink_timeout()
176 iwm_led_blink_start(struct iwm_softc *sc) in iwm_led_blink_start()
182 iwm_led_blink_stop(struct iwm_softc *sc) in iwm_led_blink_stop()
H A Dif_iwm_power.h92 extern int iwm_power_update_device(struct iwm_softc *sc);
93 extern int iwm_power_update_mac(struct iwm_softc *sc);
94 extern int iwm_power_update_ps(struct iwm_softc *sc);
95 extern int iwm_enable_beacon_filter(struct iwm_softc *sc,
97 extern int iwm_disable_beacon_filter(struct iwm_softc *sc);
H A Dif_iwm_sta.c137 iwm_add_sta_cmd_size(struct iwm_softc *sc) in iwm_add_sta_cmd_size()
145 iwm_sta_send_to_fw(struct iwm_softc *sc, struct iwm_node *in, in iwm_sta_send_to_fw()
197 iwm_add_sta(struct iwm_softc *sc, struct iwm_node *in) in iwm_add_sta()
203 iwm_update_sta(struct iwm_softc *sc, struct iwm_node *in) in iwm_update_sta()
209 iwm_drain_sta(struct iwm_softc *sc, struct iwm_vap *ivp, boolean_t drain) in iwm_drain_sta()
250 iwm_rm_sta_common(struct iwm_softc *sc) in iwm_rm_sta_common()
269 iwm_rm_sta(struct iwm_softc *sc, struct ieee80211vap *vap, in iwm_rm_sta()
305 iwm_rm_sta_id(struct iwm_softc *sc, struct ieee80211vap *vap) in iwm_rm_sta_id()
313 iwm_add_int_sta_common(struct iwm_softc *sc, struct iwm_int_sta *sta, in iwm_add_int_sta_common()
352 iwm_add_aux_sta(struct iwm_softc *sc) in iwm_add_aux_sta()
[all …]
H A Dif_iwm_led.h92 extern void iwm_led_enable(struct iwm_softc *);
93 extern void iwm_led_disable(struct iwm_softc *);
94 extern void iwm_led_blink_start(struct iwm_softc *);
95 extern void iwm_led_blink_stop(struct iwm_softc *);
H A Dif_iwm_time_event.c163 iwm_te_clear_data(struct iwm_softc *sc) in iwm_te_clear_data()
179 iwm_te_handle_notif(struct iwm_softc *sc, in iwm_te_handle_notif()
218 iwm_rx_time_event_notif(struct iwm_softc *sc, struct iwm_rx_packet *pkt) in iwm_rx_time_event_notif()
231 iwm_te_notif(struct iwm_softc *sc, struct iwm_rx_packet *pkt, in iwm_te_notif()
262 iwm_time_event_response(struct iwm_softc *sc, struct iwm_rx_packet *pkt, in iwm_time_event_response()
295 iwm_time_event_send_add(struct iwm_softc *sc, struct iwm_vap *ivp, in iwm_time_event_send_add()
346 iwm_protect_session(struct iwm_softc *sc, struct iwm_vap *ivp, in iwm_protect_session()
409 iwm_stop_session_protection(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_stop_session_protection()
H A Dif_iwm_notif_wait.h78 struct iwm_softc;
107 int (*fn)(struct iwm_softc *sc, struct iwm_rx_packet *pkt, void *data);
117 struct iwm_softc *sc);
129 int (*fn)(struct iwm_softc *sc,
H A Dif_iwm_mac_ctxt.h110 extern int iwm_mac_ctxt_add(struct iwm_softc *sc, struct ieee80211vap *vap);
111 extern int iwm_mac_ctxt_changed(struct iwm_softc *sc, struct ieee80211vap *vap);
112 extern int iwm_mac_ctxt_remove(struct iwm_softc *sc, struct ieee80211vap *vap);
H A Dif_iwm_mac_ctxt.c170 iwm_ack_rates(struct iwm_softc *sc, int is2ghz, in iwm_ack_rates()
254 iwm_mac_ctxt_cmd_common(struct iwm_softc *sc, struct iwm_node *in, in iwm_mac_ctxt_cmd_common()
363 iwm_mac_ctxt_send_cmd(struct iwm_softc *sc, struct iwm_mac_ctx_cmd *cmd) in iwm_mac_ctxt_send_cmd()
378 iwm_mac_ctxt_cmd_fill_sta(struct iwm_softc *sc, struct iwm_node *in, in iwm_mac_ctxt_cmd_fill_sta()
463 iwm_mac_ctxt_cmd_station(struct iwm_softc *sc, struct ieee80211vap *vap, in iwm_mac_ctxt_cmd_station()
491 iwm_mac_ctx_send(struct iwm_softc *sc, struct ieee80211vap *vap, in iwm_mac_ctx_send()
498 iwm_mac_ctxt_add(struct iwm_softc *sc, struct ieee80211vap *vap) in iwm_mac_ctxt_add()
517 iwm_mac_ctxt_changed(struct iwm_softc *sc, struct ieee80211vap *vap) in iwm_mac_ctxt_changed()
531 iwm_mac_ctxt_remove(struct iwm_softc *sc, struct iwm_node *in)
H A Dif_iwm_time_event.h109 extern void iwm_rx_time_event_notif(struct iwm_softc *sc,
111 extern void iwm_protect_session(struct iwm_softc *sc, struct iwm_vap *ivp,
113 extern void iwm_stop_session_protection(struct iwm_softc *sc,
H A Dif_iwm_scan.c167 iwm_scan_rx_chain(struct iwm_softc *sc) in iwm_scan_rx_chain()
190 iwm_scan_rate_n_flags(struct iwm_softc *sc, int flags, int no_cck) in iwm_scan_rate_n_flags()
213 iwm_rrm_scan_needed(struct iwm_softc *sc) in iwm_rrm_scan_needed()
243 iwm_rx_lmac_scan_complete_notif(struct iwm_softc *sc, in iwm_rx_lmac_scan_complete_notif()
269 iwm_rx_umac_scan_complete_notif(struct iwm_softc *sc, in iwm_rx_umac_scan_complete_notif()
297 iwm_lmac_scan_fill_channels(struct iwm_softc *sc, in iwm_lmac_scan_fill_channels()
341 iwm_umac_scan_fill_channels(struct iwm_softc *sc, in iwm_umac_scan_fill_channels()
380 iwm_fill_probe_req(struct iwm_softc *sc, struct iwm_scan_probe_req_v1 *preq) in iwm_fill_probe_req()
476 iwm_config_umac_scan(struct iwm_softc *sc) in iwm_config_umac_scan()
567 iwm_scan_use_ebs(struct iwm_softc *sc) in iwm_scan_use_ebs()
[all …]
H A Dif_iwm_phy_ctxt.c166 iwm_phy_ctxt_cmd_hdr(struct iwm_softc *sc, struct iwm_phy_ctxt *ctxt, in iwm_phy_ctxt_cmd_hdr()
189 iwm_phy_ctxt_cmd_data(struct iwm_softc *sc, in iwm_phy_ctxt_cmd_data()
247 iwm_phy_ctxt_apply(struct iwm_softc *sc, in iwm_phy_ctxt_apply()
280 iwm_phy_ctxt_add(struct iwm_softc *sc, struct iwm_phy_ctxt *ctxt, in iwm_phy_ctxt_add()
301 iwm_phy_ctxt_changed(struct iwm_softc *sc, in iwm_phy_ctxt_changed()
H A Dif_iwm_fw.h108 extern void iwm_free_fw_paging(struct iwm_softc *);
109 extern int iwm_save_fw_paging(struct iwm_softc *, const struct iwm_fw_img *);
110 extern int iwm_send_paging_cmd(struct iwm_softc *, const struct iwm_fw_img *);
H A Dif_iwm_binding.c157 iwm_binding_cmd(struct iwm_softc *sc, uint32_t action, in iwm_binding_cmd()
197 iwm_binding_update(struct iwm_softc *sc, struct iwm_vap *ivp, in iwm_binding_update()
220 iwm_binding_add_vif(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_binding_add_vif()
236 iwm_binding_remove_vif(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_binding_remove_vif()
H A Dif_iwm_fw.c127 iwm_free_fw_paging(struct iwm_softc *sc) in iwm_free_fw_paging()
142 iwm_fill_paging_mem(struct iwm_softc *sc, const struct iwm_fw_img *image) in iwm_fill_paging_mem()
225 iwm_alloc_fw_paging_mem(struct iwm_softc *sc, const struct iwm_fw_img *image) in iwm_alloc_fw_paging_mem()
299 iwm_save_fw_paging(struct iwm_softc *sc, const struct iwm_fw_img *fw) in iwm_save_fw_paging()
312 iwm_send_paging_cmd(struct iwm_softc *sc, const struct iwm_fw_img *fw) in iwm_send_paging_cmd()
H A Dif_iwm_util.c168 iwm_send_cmd(struct iwm_softc *sc, struct iwm_host_cmd *hcmd) in iwm_send_cmd()
347 iwm_send_cmd_pdu(struct iwm_softc *sc, uint32_t id, in iwm_send_cmd_pdu()
362 iwm_send_cmd_status(struct iwm_softc *sc, in iwm_send_cmd_status()
403 iwm_send_cmd_pdu_status(struct iwm_softc *sc, uint32_t id, in iwm_send_cmd_pdu_status()
416 iwm_free_resp(struct iwm_softc *sc, struct iwm_host_cmd *hcmd) in iwm_free_resp()
501 iwm_send_lq_cmd(struct iwm_softc *sc, struct iwm_lq_cmd *lq, boolean_t init) in iwm_send_lq_cmd()
517 iwm_rx_diversity_allowed(struct iwm_softc *sc) in iwm_rx_diversity_allowed()
H A Dif_iwm_binding.h107 extern int iwm_binding_add_vif(struct iwm_softc *sc, struct iwm_vap *ivp);
108 extern int iwm_binding_remove_vif(struct iwm_softc *sc, struct iwm_vap *ivp);
H A Dif_iwm_phy_ctxt.h108 extern int iwm_phy_ctxt_add(struct iwm_softc *sc,
112 extern int iwm_phy_ctxt_changed(struct iwm_softc *sc,
H A Dif_iwm_sf.c197 iwm_fill_sf_command(struct iwm_softc *sc, struct iwm_sf_cfg_cmd *sf_cmd, in iwm_fill_sf_command()
245 iwm_sf_config(struct iwm_softc *sc, struct ieee80211_node *ni, in iwm_sf_config()
296 iwm_sf_update(struct iwm_softc *sc, struct ieee80211vap *changed_vif, in iwm_sf_update()

12