diff options
author | sam <sam@FreeBSD.org> | 2005-07-22 16:55:27 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-07-22 16:55:27 +0000 |
commit | 6f738197e30b168d8c1ed5190c408fc80bd58984 (patch) | |
tree | e4240c44a5476ba798678ab2a8906d3372cd5cb4 /sys/net80211/ieee80211_proto.c | |
parent | 3876d0ac68eed6f2676486ce047b20f7cb8f3520 (diff) | |
download | FreeBSD-src-6f738197e30b168d8c1ed5190c408fc80bd58984.zip FreeBSD-src-6f738197e30b168d8c1ed5190c408fc80bd58984.tar.gz |
o add IEEE80211_FRAG_DEFAULT
o move default settings for RTS and frag thresholds to ieee80211_var.h
Diffstat (limited to 'sys/net80211/ieee80211_proto.c')
-rw-r--r-- | sys/net80211/ieee80211_proto.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net80211/ieee80211_proto.c b/sys/net80211/ieee80211_proto.c index 0fe4574..76ef0b5 100644 --- a/sys/net80211/ieee80211_proto.c +++ b/sys/net80211/ieee80211_proto.c @@ -94,12 +94,8 @@ ieee80211_proto_attach(struct ieee80211com *ic) /* XXX room for crypto */ ifp->if_hdrlen = sizeof(struct ieee80211_qosframe_addr4); -#ifdef notdef ic->ic_rtsthreshold = IEEE80211_RTS_DEFAULT; -#else - ic->ic_rtsthreshold = IEEE80211_RTS_MAX; -#endif - ic->ic_fragthreshold = 2346; /* XXX not used yet */ + ic->ic_fragthreshold = IEEE80211_FRAG_DEFAULT; ic->ic_fixed_rate = IEEE80211_FIXED_RATE_NONE; ic->ic_protmode = IEEE80211_PROT_CTSONLY; ic->ic_roaming = IEEE80211_ROAMING_AUTO; |