/freebsd/sys/dev/rtwn/rtl8192c/ |
H A D | r92c.h | 43 void r92c_detach_private(struct rtwn_softc *); 44 void r92c_read_chipid_vendor(struct rtwn_softc *, uint32_t); 47 void r92c_beacon_init(struct rtwn_softc *, void *, int); 48 void r92c_beacon_enable(struct rtwn_softc *, int, int); 49 void r92c_sta_beacon_enable(struct rtwn_softc *, int, bool); 52 void r92c_iq_calib(struct rtwn_softc *); 53 void r92c_lc_calib(struct rtwn_softc *); 54 void r92c_temp_measure(struct rtwn_softc *); 55 uint8_t r92c_temp_read(struct rtwn_softc *); 58 void r92c_dump_txpower(struct rtwn_softc *, int, uint8_t[RTWN_RIDX_COUNT]); [all …]
|
H A D | r92c_init.c | 55 r92c_check_condition(struct rtwn_softc *sc, const uint8_t cond[]) in r92c_check_condition() 90 r92c_llt_init(struct rtwn_softc *sc) in r92c_llt_init() 116 r92c_set_page_size(struct rtwn_softc *sc) in r92c_set_page_size() 123 r92c_init_bb_common(struct rtwn_softc *sc) in r92c_init_bb_common() 191 r92c_init_rf_chain(struct rtwn_softc *sc, in r92c_init_rf_chain() 233 r92c_init_rf(struct rtwn_softc *sc) in r92c_init_rf() 286 r92c_init_edca(struct rtwn_softc *sc) in r92c_init_edca() 301 r92c_init_ampdu(struct rtwn_softc *sc) in r92c_init_ampdu() 311 r92c_init_antsel(struct rtwn_softc *sc) in r92c_init_antsel() 326 r92c_pa_bias_init(struct rtwn_softc *sc) in r92c_pa_bias_init()
|
/freebsd/sys/dev/rtwn/rtl8812a/ |
H A D | r12a.h | 57 void r12a_vap_preattach(struct rtwn_softc *, struct ieee80211vap *); 58 void r12a_detach_private(struct rtwn_softc *); 61 void r12a_beacon_init(struct rtwn_softc *, void *, int); 63 void r12a_sta_beacon_enable(struct rtwn_softc *, int, bool); 66 void r12a_save_bb_afe_vals(struct rtwn_softc *, uint32_t[], 68 void r12a_restore_bb_afe_vals(struct rtwn_softc *, uint32_t[], 70 void r12a_save_rf_vals(struct rtwn_softc *, uint32_t[], 72 void r12a_restore_rf_vals(struct rtwn_softc *, uint32_t[], 74 void r12a_lc_calib(struct rtwn_softc *); 76 int r12a_iq_calib_fw_supported(struct rtwn_softc *); [all …]
|
H A D | r12a_calib.c | 62 r12a_lc_calib(struct rtwn_softc *sc) in r12a_lc_calib() 117 r12a_iq_calib_fw_supported(struct rtwn_softc *sc) in r12a_iq_calib_fw_supported() 127 r12a_save_bb_afe_vals(struct rtwn_softc *sc, uint32_t vals[], in r12a_save_bb_afe_vals() 140 r12a_restore_bb_afe_vals(struct rtwn_softc *sc, uint32_t vals[], in r12a_restore_bb_afe_vals() 153 r12a_save_rf_vals(struct rtwn_softc *sc, uint32_t vals[], in r12a_save_rf_vals() 167 r12a_restore_rf_vals(struct rtwn_softc *sc, uint32_t vals[], in r12a_restore_rf_vals() 182 r12a_iq_tx(struct rtwn_softc *sc) in r12a_iq_tx() 188 r12a_iq_config_mac(struct rtwn_softc *sc) in r12a_iq_config_mac() 208 r12a_iq_calib_sw(struct rtwn_softc *sc) in r12a_iq_calib_sw() 274 r12a_iq_calib(struct rtwn_softc *sc) in r12a_iq_calib()
|
/freebsd/sys/dev/rtwn/rtl8188e/ |
H A D | r88e.h | 41 void r88e_beacon_enable(struct rtwn_softc *, int, int); 42 void r88e_sta_beacon_enable(struct rtwn_softc *, int, bool); 45 void r88e_iq_calib(struct rtwn_softc *); 46 void r88e_temp_measure(struct rtwn_softc *); 47 uint8_t r88e_temp_read(struct rtwn_softc *); 50 void r88e_get_txpower(struct rtwn_softc *, int, 52 void r88e_set_bw20(struct rtwn_softc *, uint8_t); 53 void r88e_set_gain(struct rtwn_softc *, uint8_t); 57 int r88e_fw_cmd(struct rtwn_softc *, uint8_t, const void *, int); 58 void r88e_fw_reset(struct rtwn_softc *, int); [all …]
|
H A D | r88e_fw.c | 56 r88e_fw_cmd(struct rtwn_softc *sc, uint8_t id, const void *buf, int len) in r88e_fw_cmd() 103 r88e_fw_reset(struct rtwn_softc *sc, int reason) in r88e_fw_reset() 117 r88e_fw_download_enable(struct rtwn_softc *sc, int enable) in r88e_fw_download_enable() 135 r88e_macid_enable_link(struct rtwn_softc *sc, int id, int enable) in r88e_macid_enable_link() 152 r88e_set_media_status(struct rtwn_softc *sc, int macid) in r88e_set_media_status() 175 r88e_set_rsvd_page(struct rtwn_softc *sc, int probe_resp, int null, in r88e_set_rsvd_page() 189 r88e_set_pwrmode(struct rtwn_softc *sc, struct ieee80211vap *vap, in r88e_set_pwrmode()
|
/freebsd/sys/dev/rtwn/rtl8192e/ |
H A D | r92e.h | 45 void r92e_detach_private(struct rtwn_softc *); 48 void r92e_set_chan(struct rtwn_softc *, struct ieee80211_channel *); 49 int r92e_set_tx_power(struct rtwn_softc *sc, struct ieee80211vap *vap); 53 void r92e_fw_reset(struct rtwn_softc *, int); 54 void r92e_set_media_status(struct rtwn_softc *, int); 55 int r92e_set_pwrmode(struct rtwn_softc *, struct ieee80211vap *, int); 59 int r92e_llt_init(struct rtwn_softc *); 60 void r92e_init_bb(struct rtwn_softc *); 61 void r92e_init_rf(struct rtwn_softc *); 62 int r92e_power_on(struct rtwn_softc *); [all …]
|
/freebsd/sys/dev/rtwn/rtl8821a/ |
H A D | r21a.h | 44 void r21a_beacon_init(struct rtwn_softc *, void *, int); 45 void r21a_beacon_select(struct rtwn_softc *, int); 49 int r21a_iq_calib_fw_supported(struct rtwn_softc *); 51 void r21a_iq_calib_sw(struct rtwn_softc *); 54 void r21a_set_band_2ghz(struct rtwn_softc *, uint32_t); 55 void r21a_set_band_5ghz(struct rtwn_softc *, uint32_t); 58 void r21a_fw_reset(struct rtwn_softc *, int); 61 int r21a_power_on(struct rtwn_softc *); 62 void r21a_power_off(struct rtwn_softc *); 63 int r21a_check_condition(struct rtwn_softc *, const uint8_t[]); [all …]
|
/freebsd/sys/dev/rtwn/rtl8192c/pci/ |
H A D | r92ce.h | 40 void r92ce_iq_calib(struct rtwn_softc *); 44 void r92ce_fw_reset(struct rtwn_softc *, int); 48 void r92ce_init_intr(struct rtwn_softc *); 49 void r92ce_init_edca(struct rtwn_softc *); 50 void r92ce_init_bb(struct rtwn_softc *); 51 int r92ce_power_on(struct rtwn_softc *); 52 void r92ce_power_off(struct rtwn_softc *); 53 void r92ce_init_ampdu(struct rtwn_softc *); 54 void r92ce_post_init(struct rtwn_softc *); 57 void r92ce_set_led(struct rtwn_softc *, int, int); [all …]
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn_rx.h | 22 void rtwn_get_rates(struct rtwn_softc *, const struct ieee80211_rateset *, 25 void rtwn_set_basicrates(struct rtwn_softc *, uint32_t); 26 void rtwn_set_rts_rate(struct rtwn_softc *, uint32_t); 27 struct ieee80211_node * rtwn_rx_common(struct rtwn_softc *, struct mbuf *, 31 void rtwn_set_multi(struct rtwn_softc *); 32 void rtwn_rxfilter_update(struct rtwn_softc *); 33 void rtwn_rxfilter_init(struct rtwn_softc *); 34 void rtwn_rxfilter_set(struct rtwn_softc *); 35 void rtwn_set_rx_bssid_all(struct rtwn_softc *, int); 36 void rtwn_set_promisc(struct rtwn_softc *);
|
H A D | if_rtwn_nop.h | 21 rtwn_nop_softc(struct rtwn_softc *sc) in rtwn_nop_softc() 26 rtwn_nop_int_softc(struct rtwn_softc *sc) in rtwn_nop_int_softc() 32 rtwn_nop_int_softc_mbuf(struct rtwn_softc *sc, struct mbuf *m) in rtwn_nop_int_softc_mbuf() 38 rtwn_nop_softc_int(struct rtwn_softc *sc, int id) in rtwn_nop_softc_int() 43 rtwn_nop_softc_uint32(struct rtwn_softc *sc, uint32_t reg) in rtwn_nop_softc_uint32() 48 rtwn_nop_softc_chan(struct rtwn_softc *sc, struct ieee80211_channel *c) in rtwn_nop_softc_chan() 53 rtwn_nop_softc_vap(struct rtwn_softc *sc, struct ieee80211vap *vap) in rtwn_nop_softc_vap() 58 rtwn_nop_int_softc_vap(struct rtwn_softc *sc, struct ieee80211vap *vap) in rtwn_nop_int_softc_vap() 64 rtwn_nop_softc_uint8_int(struct rtwn_softc *sc, uint8_t *buf, int len) in rtwn_nop_softc_uint8_int()
|
H A D | if_rtwn.c | 80 static void rtwn_radiotap_attach(struct rtwn_softc *); 81 static void rtwn_vap_decrement_counters(struct rtwn_softc *, 83 static void rtwn_set_ic_opmode(struct rtwn_softc *); 89 static int rtwn_read_chipid(struct rtwn_softc *); 91 static void rtwn_set_media_status(struct rtwn_softc *, 94 static int rtwn_tx_fwpkt_check(struct rtwn_softc *, 96 static int rtwn_construct_nulldata(struct rtwn_softc *, 98 static int rtwn_push_nulldata(struct rtwn_softc *, 101 static void rtwn_set_pwrmode_cb(struct rtwn_softc *, 106 static void rtwn_tsf_sync_enable(struct rtwn_softc *, [all …]
|
H A D | if_rtwn_rx.c | 68 rtwn_get_rates(struct rtwn_softc *sc, const struct ieee80211_rateset *rs, in rtwn_get_rates() 129 rtwn_set_basicrates(struct rtwn_softc *sc, uint32_t rates) in rtwn_set_basicrates() 141 rtwn_set_rts_rate(struct rtwn_softc *sc, uint32_t rates) in rtwn_set_rts_rate() 173 rtwn_update_avgrssi(struct rtwn_softc *sc, struct rtwn_node *un, int8_t rssi, in rtwn_update_avgrssi() 212 rtwn_get_rssi(struct rtwn_softc *sc, void *physt, int is_cck) in rtwn_get_rssi() 225 rtwn_get_tsf_low(struct rtwn_softc *sc, int id) in rtwn_get_tsf_low() 231 rtwn_get_tsf_high(struct rtwn_softc *sc, int id) in rtwn_get_tsf_high() 237 rtwn_get_tsf(struct rtwn_softc *sc, uint64_t *buf, int id) in rtwn_get_tsf() 246 rtwn_extend_rx_tsf(struct rtwn_softc *sc, in rtwn_extend_rx_tsf() 291 rtwn_rx_common(struct rtwn_softc *sc, struct mbuf *m, void *desc) in rtwn_rx_common() [all …]
|
H A D | if_rtwn_beacon.c | 48 rtwn_reset_beacon_valid(struct rtwn_softc *sc, int id) in rtwn_reset_beacon_valid() 63 rtwn_check_beacon_valid(struct rtwn_softc *sc, int id) in rtwn_check_beacon_valid() 88 rtwn_switch_bcnq(struct rtwn_softc *sc, int id) in rtwn_switch_bcnq() 105 rtwn_setup_beacon(struct rtwn_softc *sc, struct ieee80211_node *ni) in rtwn_setup_beacon() 141 rtwn_tx_beacon(struct rtwn_softc *sc, struct rtwn_vap *uvp) in rtwn_tx_beacon() 160 struct rtwn_softc *sc = ic->ic_softc; in rtwn_update_beacon() 222 struct rtwn_softc *sc = ic->ic_softc; in rtwn_tx_beacon_csa() 242 rtwn_tx_beacon_check(struct rtwn_softc *sc, struct rtwn_vap *uvp) in rtwn_tx_beacon_check()
|
/freebsd/sys/dev/rtwn/rtl8192c/usb/ |
H A D | r92cu.h | 35 void r92cu_init_bb(struct rtwn_softc *); 36 int r92cu_power_on(struct rtwn_softc *); 37 void r92cu_power_off(struct rtwn_softc *); 38 void r92cu_init_intr(struct rtwn_softc *); 39 void r92cu_init_tx_agg(struct rtwn_softc *); 40 void r92cu_init_rx_agg(struct rtwn_softc *); 41 void r92cu_post_init(struct rtwn_softc *); 44 void r92cu_set_led(struct rtwn_softc *, int, int); 50 void r92cu_dump_tx_desc(struct rtwn_softc *, const void *);
|
/freebsd/sys/dev/rtwn/usb/ |
H A D | rtwn_usb_attach.c | 65 static int rtwn_usb_alloc_list(struct rtwn_softc *, 67 static int rtwn_usb_alloc_rx_list(struct rtwn_softc *); 68 static int rtwn_usb_alloc_tx_list(struct rtwn_softc *); 69 static void rtwn_usb_free_list(struct rtwn_softc *, 71 static void rtwn_usb_free_rx_list(struct rtwn_softc *); 72 static void rtwn_usb_free_tx_list(struct rtwn_softc *); 73 static void rtwn_usb_reset_lists(struct rtwn_softc *, 78 static void rtwn_usb_start_xfers(struct rtwn_softc *); 79 static void rtwn_usb_abort_xfers(struct rtwn_softc *); 80 static int rtwn_usb_fw_write_block(struct rtwn_softc *, [all …]
|
H A D | rtwn_usb_reg.c | 50 static int rtwn_do_request(struct rtwn_softc *, 52 static int rtwn_usb_read_region_1(struct rtwn_softc *, 59 rtwn_do_request(struct rtwn_softc *sc, struct usb_device_request *req, in rtwn_do_request() 87 rtwn_usb_write_region_1(struct rtwn_softc *sc, uint16_t addr, uint8_t *buf, in rtwn_usb_write_region_1() 101 rtwn_usb_write_1(struct rtwn_softc *sc, uint16_t addr, uint8_t val) in rtwn_usb_write_1() 107 rtwn_usb_write_2(struct rtwn_softc *sc, uint16_t addr, uint16_t val) in rtwn_usb_write_2() 114 rtwn_usb_write_4(struct rtwn_softc *sc, uint16_t addr, uint32_t val) in rtwn_usb_write_4() 121 rtwn_usb_read_region_1(struct rtwn_softc *sc, uint16_t addr, uint8_t *buf, in rtwn_usb_read_region_1() 135 rtwn_usb_read_1(struct rtwn_softc *sc, uint16_t addr) in rtwn_usb_read_1() 145 rtwn_usb_read_2(struct rtwn_softc *sc, uint16_t addr) in rtwn_usb_read_2() [all …]
|
H A D | rtwn_usb_reg.h | 33 int rtwn_usb_write_region_1(struct rtwn_softc *, uint16_t, 35 int rtwn_usb_write_1(struct rtwn_softc *, uint16_t, uint8_t); 36 int rtwn_usb_write_2(struct rtwn_softc *, uint16_t, uint16_t); 37 int rtwn_usb_write_4(struct rtwn_softc *, uint16_t, uint32_t); 38 uint8_t rtwn_usb_read_1(struct rtwn_softc *, uint16_t); 39 uint16_t rtwn_usb_read_2(struct rtwn_softc *, uint16_t); 40 uint32_t rtwn_usb_read_4(struct rtwn_softc *, uint16_t); 41 void rtwn_usb_delay(struct rtwn_softc *, int);
|
/freebsd/sys/dev/rtwn/rtl8812a/usb/ |
H A D | r12au.h | 36 void r12au_init_rx_agg(struct rtwn_softc *); 37 void r12au_init_burstlen_usb2(struct rtwn_softc *); 38 void r12au_init_burstlen(struct rtwn_softc *); 39 void r12au_init_ampdu_fwhw(struct rtwn_softc *); 40 void r12au_init_ampdu(struct rtwn_softc *); 41 void r12au_post_init(struct rtwn_softc *); 44 int r12au_classify_intr(struct rtwn_softc *, void *, int); 48 void r12au_dump_tx_desc(struct rtwn_softc *, const void *);
|
/freebsd/sys/dev/rtwn/pci/ |
H A D | rtwn_pci_reg.h | 20 int rtwn_pci_write_1(struct rtwn_softc *, uint16_t, uint8_t); 21 int rtwn_pci_write_2(struct rtwn_softc *, uint16_t, uint16_t); 22 int rtwn_pci_write_4(struct rtwn_softc *, uint16_t, uint32_t); 23 uint8_t rtwn_pci_read_1(struct rtwn_softc *, uint16_t); 24 uint16_t rtwn_pci_read_2(struct rtwn_softc *, uint16_t); 25 uint32_t rtwn_pci_read_4(struct rtwn_softc *, uint16_t); 26 void rtwn_pci_delay(struct rtwn_softc *, int);
|
H A D | rtwn_pci_attach.c | 70 static int rtwn_pci_alloc_rx_list(struct rtwn_softc *); 71 static void rtwn_pci_reset_rx_list(struct rtwn_softc *); 72 static void rtwn_pci_free_rx_list(struct rtwn_softc *); 73 static int rtwn_pci_alloc_tx_list(struct rtwn_softc *, int); 74 static void rtwn_pci_reset_tx_ring_stopped(struct rtwn_softc *, int); 75 static void rtwn_pci_reset_beacon_ring(struct rtwn_softc *, int); 76 static void rtwn_pci_reset_tx_list(struct rtwn_softc *, 78 static void rtwn_pci_free_tx_list(struct rtwn_softc *, int); 79 static void rtwn_pci_reset_lists(struct rtwn_softc *, 81 static int rtwn_pci_fw_write_block(struct rtwn_softc *, [all …]
|
H A D | rtwn_pci_reg.c | 51 rtwn_pci_write_1(struct rtwn_softc *sc, uint16_t addr, uint8_t val) in rtwn_pci_write_1() 61 rtwn_pci_write_2(struct rtwn_softc *sc, uint16_t addr, uint16_t val) in rtwn_pci_write_2() 72 rtwn_pci_write_4(struct rtwn_softc *sc, uint16_t addr, uint32_t val) in rtwn_pci_write_4() 83 rtwn_pci_read_1(struct rtwn_softc *sc, uint16_t addr) in rtwn_pci_read_1() 91 rtwn_pci_read_2(struct rtwn_softc *sc, uint16_t addr) in rtwn_pci_read_2() 101 rtwn_pci_read_4(struct rtwn_softc *sc, uint16_t addr) in rtwn_pci_read_4() 111 rtwn_pci_delay(struct rtwn_softc *sc, int usec) in rtwn_pci_delay()
|
/freebsd/sys/dev/rtwn/rtl8188e/usb/ |
H A D | r88eu.h | 35 void r88eu_init_bb(struct rtwn_softc *); 36 int r88eu_power_on(struct rtwn_softc *); 37 void r88eu_power_off(struct rtwn_softc *); 38 void r88eu_init_intr(struct rtwn_softc *); 39 void r88eu_init_rx_agg(struct rtwn_softc *); 40 void r88eu_post_init(struct rtwn_softc *);
|
/freebsd/sys/dev/rtwn/rtl8188e/pci/ |
H A D | r88ee.h | 37 void r88ee_init_bb(struct rtwn_softc *); 38 void r88ee_init_intr(struct rtwn_softc *); 39 int r88ee_power_on(struct rtwn_softc *); 40 void r88ee_power_off(struct rtwn_softc *); 45 void r88ee_start_xfers(struct rtwn_softc *); 46 void r88ee_post_init(struct rtwn_softc *);
|
/freebsd/sys/dev/rtwn/rtl8821a/usb/ |
H A D | r21au_dfs.c | 64 r21au_dfs_radar_disable(struct rtwn_softc *sc) in r21au_dfs_radar_disable() 70 r21au_dfs_radar_is_enabled(struct rtwn_softc *sc) in r21au_dfs_radar_is_enabled() 76 r21au_dfs_radar_reset(struct rtwn_softc *sc) in r21au_dfs_radar_reset() 88 r21au_dfs_radar_enable(struct rtwn_softc *sc) in r21au_dfs_radar_enable() 110 r21au_dfs_radar_is_detected(struct rtwn_softc *sc) in r21au_dfs_radar_is_detected() 118 struct rtwn_softc *sc = arg; in r21au_chan_check() 168 struct rtwn_softc *sc = ic->ic_softc; in r21au_newstate() 225 struct rtwn_softc *sc = ic->ic_softc; in r21au_scan_start() 251 struct rtwn_softc *sc = ic->ic_softc; in r21au_scan_end()
|