Home
last modified time | relevance | path

Searched refs:libconf (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c196 struct rt2x00lib_conf libconf; in rt2x00lib_config() local
202 memset(&libconf, 0, sizeof(libconf)); in rt2x00lib_config()
204 libconf.conf = conf; in rt2x00lib_config()
220 memcpy(&libconf.rf, in rt2x00lib_config()
222 sizeof(libconf.rf)); in rt2x00lib_config()
224 memcpy(&libconf.channel, in rt2x00lib_config()
226 sizeof(libconf.channel)); in rt2x00lib_config()
229 rt2x00dev->rf_channel = libconf.rf.channel; in rt2x00lib_config()
239 rt2x00dev->ops->lib->config(rt2x00dev, &libconf, ieee80211_flags); in rt2x00lib_config()
Drt73usb.c726 struct rt2x00lib_conf *libconf) in rt73usb_config_lna_gain() argument
731 if (libconf->conf->chandef.chan->band == NL80211_BAND_2GHZ) { in rt73usb_config_lna_gain()
800 struct rt2x00lib_conf *libconf) in rt73usb_config_retry_limit() argument
809 libconf->conf->long_frame_max_tx_count); in rt73usb_config_retry_limit()
811 libconf->conf->short_frame_max_tx_count); in rt73usb_config_retry_limit()
816 struct rt2x00lib_conf *libconf) in rt73usb_config_ps() argument
819 (libconf->conf->flags & IEEE80211_CONF_PS) ? in rt73usb_config_ps()
828 libconf->conf->listen_interval - 1); in rt73usb_config_ps()
854 struct rt2x00lib_conf *libconf, in rt73usb_config() argument
858 rt73usb_config_lna_gain(rt2x00dev, libconf); in rt73usb_config()
[all …]
Drt2400pci.c499 struct rt2x00lib_conf *libconf) in rt2400pci_config_retry_limit() argument
505 libconf->conf->long_frame_max_tx_count); in rt2400pci_config_retry_limit()
507 libconf->conf->short_frame_max_tx_count); in rt2400pci_config_retry_limit()
512 struct rt2x00lib_conf *libconf) in rt2400pci_config_ps() argument
515 (libconf->conf->flags & IEEE80211_CONF_PS) ? in rt2400pci_config_ps()
524 libconf->conf->listen_interval - 1); in rt2400pci_config_ps()
542 struct rt2x00lib_conf *libconf, in rt2400pci_config() argument
546 rt2400pci_config_channel(rt2x00dev, &libconf->rf); in rt2400pci_config()
549 libconf->conf->power_level); in rt2400pci_config()
551 rt2400pci_config_retry_limit(rt2x00dev, libconf); in rt2400pci_config()
[all …]
Drt61pci.c751 struct rt2x00lib_conf *libconf) in rt61pci_config_lna_gain() argument
756 if (libconf->conf->chandef.chan->band == NL80211_BAND_2GHZ) { in rt61pci_config_lna_gain()
832 struct rt2x00lib_conf *libconf) in rt61pci_config_retry_limit() argument
841 libconf->conf->long_frame_max_tx_count); in rt61pci_config_retry_limit()
843 libconf->conf->short_frame_max_tx_count); in rt61pci_config_retry_limit()
848 struct rt2x00lib_conf *libconf) in rt61pci_config_ps() argument
851 (libconf->conf->flags & IEEE80211_CONF_PS) ? in rt61pci_config_ps()
860 libconf->conf->listen_interval - 1); in rt61pci_config_ps()
894 struct rt2x00lib_conf *libconf, in rt61pci_config() argument
898 rt61pci_config_lna_gain(rt2x00dev, libconf); in rt61pci_config()
[all …]
Drt2500pci.c547 struct rt2x00lib_conf *libconf) in rt2500pci_config_retry_limit() argument
553 libconf->conf->long_frame_max_tx_count); in rt2500pci_config_retry_limit()
555 libconf->conf->short_frame_max_tx_count); in rt2500pci_config_retry_limit()
560 struct rt2x00lib_conf *libconf) in rt2500pci_config_ps() argument
563 (libconf->conf->flags & IEEE80211_CONF_PS) ? in rt2500pci_config_ps()
572 libconf->conf->listen_interval - 1); in rt2500pci_config_ps()
590 struct rt2x00lib_conf *libconf, in rt2500pci_config() argument
594 rt2500pci_config_channel(rt2x00dev, &libconf->rf, in rt2500pci_config()
595 libconf->conf->power_level); in rt2500pci_config()
599 libconf->conf->power_level); in rt2500pci_config()
[all …]
Drt2500usb.c624 struct rt2x00lib_conf *libconf) in rt2500usb_config_ps() argument
627 (libconf->conf->flags & IEEE80211_CONF_PS) ? in rt2500usb_config_ps()
636 libconf->conf->listen_interval - 1); in rt2500usb_config_ps()
654 struct rt2x00lib_conf *libconf, in rt2500usb_config() argument
658 rt2500usb_config_channel(rt2x00dev, &libconf->rf, in rt2500usb_config()
659 libconf->conf->power_level); in rt2500usb_config()
663 libconf->conf->power_level); in rt2500usb_config()
665 rt2500usb_config_ps(rt2x00dev, libconf); in rt2500usb_config()
Drt2800mmio.c192 struct rt2x00lib_conf libconf = { .conf = &conf }; in rt2800mmio_wakeup() local
194 rt2800_config(rt2x00dev, &libconf, IEEE80211_CONF_CHANGE_PS); in rt2800mmio_wakeup()
Drt2800lib.h226 struct rt2x00lib_conf *libconf,
Drt2800lib.c2268 struct rt2x00lib_conf *libconf) in rt2800_config_lna_gain() argument
2273 if (libconf->rf.channel <= 14) { in rt2800_config_lna_gain()
2276 } else if (libconf->rf.channel <= 64) { in rt2800_config_lna_gain()
2279 } else if (libconf->rf.channel <= 128) { in rt2800_config_lna_gain()
5510 struct rt2x00lib_conf *libconf) in rt2800_config_retry_limit() argument
5516 libconf->conf->short_frame_max_tx_count); in rt2800_config_retry_limit()
5518 libconf->conf->long_frame_max_tx_count); in rt2800_config_retry_limit()
5523 struct rt2x00lib_conf *libconf) in rt2800_config_ps() argument
5526 (libconf->conf->flags & IEEE80211_CONF_PS) ? in rt2800_config_ps()
5536 libconf->conf->listen_interval - 1); in rt2800_config_ps()
[all …]
Drt2x00.h617 struct rt2x00lib_conf *libconf,