Lines Matching refs:switch_count
414 u8 switch_count; in iwl5000_hw_channel_switch() local
430 switch_count = ch_switch->count; in iwl5000_hw_channel_switch()
437 if (switch_count > ((priv->ucode_beacon_time - tsf_low) / in iwl5000_hw_channel_switch()
439 switch_count -= (priv->ucode_beacon_time - in iwl5000_hw_channel_switch()
442 switch_count = 0; in iwl5000_hw_channel_switch()
444 if (switch_count <= 1) in iwl5000_hw_channel_switch()
448 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl5000_hw_channel_switch()
575 u8 switch_count; in iwl6000_hw_channel_switch() local
598 switch_count = ch_switch->count; in iwl6000_hw_channel_switch()
605 if (switch_count > ((priv->ucode_beacon_time - tsf_low) / in iwl6000_hw_channel_switch()
607 switch_count -= (priv->ucode_beacon_time - in iwl6000_hw_channel_switch()
610 switch_count = 0; in iwl6000_hw_channel_switch()
612 if (switch_count <= 1) in iwl6000_hw_channel_switch()
616 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl6000_hw_channel_switch()