Show
Ignore:
Timestamp:
09/17/07 18:34:10 (5 years ago)
Author:
mentor
Message:

The aforementioned patch. It currently does no work, and I can no longer remember where I was going with it. I think I needed to add some logic for fiddling TX power on channel change at least.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/madwifi-ng-txpower/net80211/ieee80211_beacon.c

    r2633 r2711  
    141141                *frm++ = IEEE80211_ELEMID_PWRCNSTR; 
    142142                *frm++ = 1; 
    143                 *frm++ = IEEE80211_PWRCONSTRAINT_VAL(ic)
     143                *frm++ = 0
    144144        } 
    145145 
     
    326326                         * valid channel to which to change. */ 
    327327                        if (c && (ic->ic_curchan != c)) { 
    328                                 ic->ic_curchan = c
     328                                ieee80211_set_channel(ic, c)
    329329                                ic->ic_set_channel(ic); 
    330330                        }