예제 #1
0
 private void updateChannelByAdvancedSetting(int cbw, int dbw, int primCh) {
   if (cbw == 1) { // BW40
     mChannel.remove5GChannels(mChannelAdapter);
     mChannel.insertBw40MChannels(mChannelAdapter);
   } else if (cbw == 2) { // BW80
     // mChannel.remove2dot4GChannels(mChannelAdapter);
     // mChannel.remove5GChannels(mChannelAdapter);
     mChannelAdapter.clear();
     mChannel.insertBw80MChannels(mChannelAdapter);
   }
 }