| /dragonfly/sys/dev/netif/iwm/ |
| HD | if_iwm_pcie_trans.h | 106 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 …]
|
| HD | if_iwm_util.h | 108 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 …]
|
| HD | if_iwm_pcie_trans.c | 158 iwm_read_prph(struct iwm_softc *sc, uint32_t addr) in iwm_read_prph() 167 iwm_write_prph(struct iwm_softc *sc, uint32_t addr, uint32_t val) in iwm_write_prph() 176 iwm_write_prph64(struct iwm_softc *sc, uint64_t addr, uint64_t val) in iwm_write_prph64() 183 iwm_poll_prph(struct iwm_softc *sc, uint32_t addr, uint32_t bits, uint32_t mask, in iwm_poll_prph() 199 iwm_read_mem(struct iwm_softc *sc, uint32_t addr, void *buf, int dwords) in iwm_read_mem() 218 iwm_write_mem(struct iwm_softc *sc, uint32_t addr, const void *buf, int dwords) in iwm_write_mem() 240 iwm_write_mem32(struct iwm_softc *sc, uint32_t addr, uint32_t val) in iwm_write_mem32() 246 iwm_poll_bit(struct iwm_softc *sc, int reg, in iwm_poll_bit() 262 iwm_nic_lock(struct iwm_softc *sc) in iwm_nic_lock() 291 iwm_nic_unlock(struct iwm_softc *sc) in iwm_nic_unlock() [all …]
|
| HD | if_iwm_sta.h | 208 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,
|
| HD | if_iwm_scan.h | 108 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 *,
|
| HD | if_iwm.c | 260 static int iwm_store_cscheme(struct iwm_softc *, const uint8_t *, size_t); 261 static int iwm_firmware_store_section(struct iwm_softc *, 264 static int iwm_set_default_calib(struct iwm_softc *, const void *); 266 static int iwm_read_firmware(struct iwm_softc *); 267 static int iwm_alloc_fwmem(struct iwm_softc *); 268 static int iwm_alloc_sched(struct iwm_softc *); 269 static int iwm_alloc_kw(struct iwm_softc *); 270 static int iwm_alloc_ict(struct iwm_softc *); 271 static int iwm_alloc_rx_ring(struct iwm_softc *, struct iwm_rx_ring *); 272 static void iwm_reset_rx_ring(struct iwm_softc *, struct iwm_rx_ring *); [all …]
|
| HD | if_iwm_power.c | 143 iwm_beacon_filter_send_cmd(struct iwm_softc *sc, in iwm_beacon_filter_send_cmd() 190 iwm_beacon_filter_set_cqm_params(struct iwm_softc *sc, in iwm_beacon_filter_set_cqm_params() 197 iwm_power_log(struct iwm_softc *sc, struct iwm_mac_power_cmd *cmd) in iwm_power_log() 222 iwm_power_is_radar(struct iwm_softc *sc) in iwm_power_is_radar() 238 iwm_power_config_skip_dtim(struct iwm_softc *sc, in iwm_power_config_skip_dtim() 268 iwm_power_build_cmd(struct iwm_softc *sc, struct iwm_vap *ivp, in iwm_power_build_cmd() 316 iwm_power_send_cmd(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_power_send_cmd() 328 _iwm_enable_beacon_filter(struct iwm_softc *sc, struct iwm_vap *ivp, in _iwm_enable_beacon_filter() 343 iwm_enable_beacon_filter(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_enable_beacon_filter() 354 iwm_disable_beacon_filter(struct iwm_softc *sc) in iwm_disable_beacon_filter() [all …]
|
| HD | if_iwm_led.c | 130 iwm_led_enable(struct iwm_softc *sc) in iwm_led_enable() 137 iwm_led_disable(struct iwm_softc *sc) in iwm_led_disable() 143 iwm_led_is_enabled(struct iwm_softc *sc) in iwm_led_is_enabled() 151 struct iwm_softc *sc = arg; in iwm_led_blink_timeout() 166 iwm_led_blink_start(struct iwm_softc *sc) in iwm_led_blink_start() 172 iwm_led_blink_stop(struct iwm_softc *sc) in iwm_led_blink_stop()
|
| HD | if_iwm_sta.c | 126 iwm_add_sta_cmd_size(struct iwm_softc *sc) in iwm_add_sta_cmd_size() 134 iwm_sta_send_to_fw(struct iwm_softc *sc, struct iwm_node *in, in iwm_sta_send_to_fw() 186 iwm_add_sta(struct iwm_softc *sc, struct iwm_node *in) in iwm_add_sta() 192 iwm_update_sta(struct iwm_softc *sc, struct iwm_node *in) in iwm_update_sta() 198 iwm_drain_sta(struct iwm_softc *sc, struct iwm_vap *ivp, boolean_t drain) in iwm_drain_sta() 239 iwm_rm_sta_common(struct iwm_softc *sc) in iwm_rm_sta_common() 258 iwm_rm_sta(struct iwm_softc *sc, struct ieee80211vap *vap, in iwm_rm_sta() 294 iwm_rm_sta_id(struct iwm_softc *sc, struct ieee80211vap *vap) in iwm_rm_sta_id() 302 iwm_add_int_sta_common(struct iwm_softc *sc, struct iwm_int_sta *sta, in iwm_add_int_sta_common() 341 iwm_add_aux_sta(struct iwm_softc *sc) in iwm_add_aux_sta() [all …]
|
| HD | if_iwm_power.h | 92 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);
|
| HD | if_iwm_led.h | 92 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 *);
|
| HD | if_iwm_time_event.c | 152 iwm_te_clear_data(struct iwm_softc *sc) in iwm_te_clear_data() 168 iwm_te_handle_notif(struct iwm_softc *sc, in iwm_te_handle_notif() 207 iwm_rx_time_event_notif(struct iwm_softc *sc, struct iwm_rx_packet *pkt) in iwm_rx_time_event_notif() 220 iwm_te_notif(struct iwm_softc *sc, struct iwm_rx_packet *pkt, in iwm_te_notif() 251 iwm_time_event_response(struct iwm_softc *sc, struct iwm_rx_packet *pkt, in iwm_time_event_response() 284 iwm_time_event_send_add(struct iwm_softc *sc, struct iwm_vap *ivp, in iwm_time_event_send_add() 335 iwm_protect_session(struct iwm_softc *sc, struct iwm_vap *ivp, in iwm_protect_session() 398 iwm_stop_session_protection(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_stop_session_protection()
|
| HD | if_iwm_notif_wait.h | 78 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,
|
| HD | if_iwm_mac_ctxt.c | 159 iwm_ack_rates(struct iwm_softc *sc, int is2ghz, in iwm_ack_rates() 243 iwm_mac_ctxt_cmd_common(struct iwm_softc *sc, struct iwm_node *in, in iwm_mac_ctxt_cmd_common() 352 iwm_mac_ctxt_send_cmd(struct iwm_softc *sc, struct iwm_mac_ctx_cmd *cmd) in iwm_mac_ctxt_send_cmd() 367 iwm_mac_ctxt_cmd_fill_sta(struct iwm_softc *sc, struct iwm_node *in, in iwm_mac_ctxt_cmd_fill_sta() 452 iwm_mac_ctxt_cmd_station(struct iwm_softc *sc, struct ieee80211vap *vap, in iwm_mac_ctxt_cmd_station() 480 iwm_mac_ctx_send(struct iwm_softc *sc, struct ieee80211vap *vap, in iwm_mac_ctx_send() 487 iwm_mac_ctxt_add(struct iwm_softc *sc, struct ieee80211vap *vap) in iwm_mac_ctxt_add() 506 iwm_mac_ctxt_changed(struct iwm_softc *sc, struct ieee80211vap *vap) in iwm_mac_ctxt_changed() 520 iwm_mac_ctxt_remove(struct iwm_softc *sc, struct iwm_node *in)
|
| HD | if_iwm_scan.c | 156 iwm_scan_rx_chain(struct iwm_softc *sc) in iwm_scan_rx_chain() 179 iwm_scan_rate_n_flags(struct iwm_softc *sc, int flags, int no_cck) in iwm_scan_rate_n_flags() 202 iwm_rrm_scan_needed(struct iwm_softc *sc) in iwm_rrm_scan_needed() 232 iwm_rx_lmac_scan_complete_notif(struct iwm_softc *sc, in iwm_rx_lmac_scan_complete_notif() 258 iwm_rx_umac_scan_complete_notif(struct iwm_softc *sc, in iwm_rx_umac_scan_complete_notif() 286 iwm_lmac_scan_fill_channels(struct iwm_softc *sc, in iwm_lmac_scan_fill_channels() 330 iwm_umac_scan_fill_channels(struct iwm_softc *sc, in iwm_umac_scan_fill_channels() 369 iwm_fill_probe_req(struct iwm_softc *sc, struct iwm_scan_probe_req_v1 *preq) in iwm_fill_probe_req() 465 iwm_config_umac_scan(struct iwm_softc *sc) in iwm_config_umac_scan() 556 iwm_scan_use_ebs(struct iwm_softc *sc) in iwm_scan_use_ebs() [all …]
|
| HD | if_iwm_phy_ctxt.c | 155 iwm_phy_ctxt_cmd_hdr(struct iwm_softc *sc, struct iwm_phy_ctxt *ctxt, in iwm_phy_ctxt_cmd_hdr() 178 iwm_phy_ctxt_cmd_data(struct iwm_softc *sc, in iwm_phy_ctxt_cmd_data() 236 iwm_phy_ctxt_apply(struct iwm_softc *sc, in iwm_phy_ctxt_apply() 269 iwm_phy_ctxt_add(struct iwm_softc *sc, struct iwm_phy_ctxt *ctxt, in iwm_phy_ctxt_add() 290 iwm_phy_ctxt_changed(struct iwm_softc *sc, in iwm_phy_ctxt_changed()
|
| HD | if_iwm_mac_ctxt.h | 110 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);
|
| HD | if_iwm_time_event.h | 109 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,
|
| HD | if_iwm_fw.h | 108 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 *);
|
| HD | if_iwm_fw.c | 116 iwm_free_fw_paging(struct iwm_softc *sc) in iwm_free_fw_paging() 131 iwm_fill_paging_mem(struct iwm_softc *sc, const struct iwm_fw_img *image) in iwm_fill_paging_mem() 214 iwm_alloc_fw_paging_mem(struct iwm_softc *sc, const struct iwm_fw_img *image) in iwm_alloc_fw_paging_mem() 288 iwm_save_fw_paging(struct iwm_softc *sc, const struct iwm_fw_img *fw) in iwm_save_fw_paging() 301 iwm_send_paging_cmd(struct iwm_softc *sc, const struct iwm_fw_img *fw) in iwm_send_paging_cmd()
|
| HD | if_iwm_binding.c | 146 iwm_binding_cmd(struct iwm_softc *sc, uint32_t action, in iwm_binding_cmd() 186 iwm_binding_update(struct iwm_softc *sc, struct iwm_vap *ivp, in iwm_binding_update() 209 iwm_binding_add_vif(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_binding_add_vif() 225 iwm_binding_remove_vif(struct iwm_softc *sc, struct iwm_vap *ivp) in iwm_binding_remove_vif()
|
| HD | if_iwm_util.c | 157 iwm_send_cmd(struct iwm_softc *sc, struct iwm_host_cmd *hcmd) in iwm_send_cmd() 341 iwm_send_cmd_pdu(struct iwm_softc *sc, uint32_t id, in iwm_send_cmd_pdu() 356 iwm_send_cmd_status(struct iwm_softc *sc, in iwm_send_cmd_status() 397 iwm_send_cmd_pdu_status(struct iwm_softc *sc, uint32_t id, in iwm_send_cmd_pdu_status() 410 iwm_free_resp(struct iwm_softc *sc, struct iwm_host_cmd *hcmd) in iwm_free_resp() 513 iwm_send_lq_cmd(struct iwm_softc *sc, struct iwm_lq_cmd *lq, boolean_t init) in iwm_send_lq_cmd() 529 iwm_rx_diversity_allowed(struct iwm_softc *sc) in iwm_rx_diversity_allowed()
|
| HD | if_iwm_binding.h | 107 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);
|
| HD | if_iwm_phy_ctxt.h | 108 extern int iwm_phy_ctxt_add(struct iwm_softc *sc, 112 extern int iwm_phy_ctxt_changed(struct iwm_softc *sc,
|
| HD | if_iwm_sf.c | 186 iwm_fill_sf_command(struct iwm_softc *sc, struct iwm_sf_cfg_cmd *sf_cmd, in iwm_fill_sf_command() 234 iwm_sf_config(struct iwm_softc *sc, struct ieee80211_node *ni, in iwm_sf_config() 285 iwm_sf_update(struct iwm_softc *sc, struct ieee80211vap *changed_vif, in iwm_sf_update()
|