Search Linux Wireless

Re: [PATCH v3 07/16] ath9k: use ieee80211_conf on ath9k_hw_iscal_supported()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 28, 2008 at 08:38:10PM -0800, Sujith Manoharan wrote:
> Luis Rodriguez wrote:
> > -       case IQ_MISMATCH_CAL:
> > -               if (!IS_CHAN_B(chan))
> > -                       retval = true;
> > -               break;
> > +       case IQ_MISMATCH_CAL: /* Both 2 GHz and 5 GHz support OFDM */
> > +               return true;
> >         case ADC_GAIN_CAL:
> >         case ADC_DC_CAL:
> > -               if (!IS_CHAN_B(chan)
> > -                   && !(IS_CHAN_2GHZ(chan) && IS_CHAN_HT20(chan)))
> > -                       retval = true;
> > +               if (conf->channel->band == IEEE80211_BAND_5GHZ &&
> > +                 conf_is_ht20(conf))
> > +                       return true;
> >                 break;
> >         }
> 
> Why are the IS_CHAN_B() checks removed ?

Because 1) it will currently never happen 2) we need a better check for is CCK in mac80211, not
an internal check.

  Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux