• Home
  • Raw
  • Download

Lines Matching refs:conf

42 				 struct ath_beacon_config *conf,  in ath9k_cmn_beacon_config_sta()  argument
57 conf->intval = conf->beacon_interval; in ath9k_cmn_beacon_config_sta()
63 dtim_intval = conf->intval * conf->dtim_period; in ath9k_cmn_beacon_config_sta()
70 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta()
72 bs->bs_intval = TU_TO_USEC(conf->intval); in ath9k_cmn_beacon_config_sta()
73 bs->bs_dtimperiod = conf->dtim_period * bs->bs_intval; in ath9k_cmn_beacon_config_sta()
74 bs->bs_nexttbtt = conf->nexttbtt; in ath9k_cmn_beacon_config_sta()
75 bs->bs_nextdtim = conf->nexttbtt; in ath9k_cmn_beacon_config_sta()
76 if (conf->dtim_period > 1) in ath9k_cmn_beacon_config_sta()
85 bs->bs_bmissthreshold = DIV_ROUND_UP(conf->bmiss_timeout, conf->intval); in ath9k_cmn_beacon_config_sta()
101 conf->intval)); in ath9k_cmn_beacon_config_sta()
115 struct ath_beacon_config *conf) in ath9k_cmn_beacon_config_adhoc() argument
119 conf->intval = TU_TO_USEC(conf->beacon_interval); in ath9k_cmn_beacon_config_adhoc()
121 if (conf->ibss_creator) in ath9k_cmn_beacon_config_adhoc()
122 conf->nexttbtt = conf->intval; in ath9k_cmn_beacon_config_adhoc()
124 conf->nexttbtt = ath9k_get_next_tbtt(ah, ath9k_hw_gettsf64(ah), in ath9k_cmn_beacon_config_adhoc()
125 conf->beacon_interval); in ath9k_cmn_beacon_config_adhoc()
127 if (conf->enable_beacon) in ath9k_cmn_beacon_config_adhoc()
134 (conf->enable_beacon) ? "Enable" : "Disable", in ath9k_cmn_beacon_config_adhoc()
135 conf->nexttbtt, conf->intval, conf->beacon_interval); in ath9k_cmn_beacon_config_adhoc()
145 struct ath_beacon_config *conf, in ath9k_cmn_beacon_config_ap() argument
151 conf->intval = TU_TO_USEC(conf->beacon_interval); in ath9k_cmn_beacon_config_ap()
152 conf->intval /= bc_buf; in ath9k_cmn_beacon_config_ap()
153 conf->nexttbtt = ath9k_get_next_tbtt(ah, ath9k_hw_gettsf64(ah), in ath9k_cmn_beacon_config_ap()
154 conf->beacon_interval); in ath9k_cmn_beacon_config_ap()
156 if (conf->enable_beacon) in ath9k_cmn_beacon_config_ap()
163 (conf->enable_beacon) ? "Enable" : "Disable", in ath9k_cmn_beacon_config_ap()
164 conf->nexttbtt, conf->intval, conf->beacon_interval); in ath9k_cmn_beacon_config_ap()