Lines Matching refs:hw
798 * @v hw 802.11 hardware information
805 struct net80211_hw_info *hw )
808 dev->hw = malloc ( sizeof ( *hw ) );
809 if ( ! dev->hw )
812 memcpy ( dev->hw, hw, sizeof ( *hw ) );
813 memcpy ( dev->netdev->hw_addr, hw->hwaddr, ETH_ALEN );
816 memcpy ( dev->channels, dev->hw->channels,
848 free ( dev->hw );
975 if ( ! dev->hw->nr_channels )
982 for ( hwchan = dev->hw->channels;
983 hwchan < dev->hw->channels + dev->hw->nr_channels;
1144 for ( j = 0; j < dev->hw->nr_rates[band]; j++ ) {
1145 if ( dev->hw->rates[band][j] == dev->rates[i] ){
1188 if ( dev->hw->flags & NET80211_HW_NO_SHORT_PREAMBLE )
1190 if ( dev->hw->flags & NET80211_HW_NO_SHORT_SLOT )
1397 udelay ( dev->hw->channel_change_time );
1707 int band = dev->hw->bands;
2105 dev->rates[0] = dev->hw->rates[dev->channels[0].band][0];
2313 if ( ! ( dev->hw->flags & NET80211_HW_NO_SHORT_PREAMBLE ) )
2315 if ( ! ( dev->hw->flags & NET80211_HW_NO_SHORT_SLOT ) )
2718 if ( dev->hw->flags & NET80211_HW_RX_HAS_FCS ) {