2.6.22 merge plan (removing ioctls)
Dan Williams
dcbw at redhat.com
Wed May 9 10:54:38 EDT 2007
Libertas is already in 2.6.22, but is going to get removed if we don't
clean up the ioctl situation. Since we have perhaps a day or so, the
default case will be to simply remove the ioctl and add it back later,
or move its functionality to somewhere else.
The problem is that (a) the existing ioctls look pretty badly planned,
(b) many of them can be folded into WEXT calls, and (c) these are _ABI_
and if they get upstream must be preserved for a long time.
Mesh ioctls will be preserved by default. All others are subject to
yanking (again, for now) unless somebody gives some really, really good
reasons why they should stay, and why OLPC needs them in the next few
weeks. Again, they can get added back later, or merged in somewhere
else, and this is only for the 2.6.22 merge.
Javier; do we use the 'nullpktinterval' in a meaningful way right now?
Dan
Keep as-is:
------------
WLANSETREGION
WLANGETREGION
WLAN_LED_GPIO_CTRL
WLAN_SUBCMD_BT_RESET
WLAN_SUBCMD_FWT_RESET
WLAN_SUBCMD_MESH_SET_TTL
WLAN_SUBCMD_BT_SET_INVERT
WLAN_SUBCMD_BT_ADD
WLAN_SUBCMD_BT_DEL
WLAN_SUBCMD_BT_LIST
WLAN_SUBCMD_FWT_ADD
WLAN_SUBCMD_FWT_DEL
WLAN_SUBCMD_FWT_LOOKUP
WLAN_SUBCMD_FWT_LIST_NEIGHBOR
WLAN_SUBCMD_FWT_LIST
WLAN_SUBCMD_FWT_LIST_ROUTE
WLAN_SUBCMD_FWT_CLEANUP
WLAN_SUBCMD_FWT_TIME
WLAN_SUBCMD_MESH_GET_TTL
WLAN_SUBCMD_BT_GET_INVERT
Remove immediately (long-term recommendation)
----------------------------------------------
WLANSCAN_TYPE (move to SIWSCAN handler)
WLANSCAN_MODE (move to SIWSCAN handler)
WLAN_SCANPROBES
WLAN_SUBCMD_SET_PRESCAN
WLANDEAUTH (move to SIWMLME handler)
WLANADHOCSTOP (use ifdown instead)
WLANRADIOON (use ifup instead, hook into rfkill API)
WLANRADIOOFF (use ifdown, hook into rfkill API)
WLANWLANIDLEON
WLANWLANIDLEOFF
WLANENABLE11D (use whatever lib80211 comes up with)
WLANADHOCGRATE (good question, hook into SIWRATE?)
WLAN_BEACON_INTERVAL
WLAN_LISTENINTRVL
WLAN_TXCONTROL
WLAN_NULLPKTINTERVAL
WLAN_SUBCMD_SETRXANTENNA (convert to hostap ioctl)
WLAN_SUBCMD_GETRXANTENNA (convert to hostap ioctl)
WLAN_SUBCMD_SETTXANTENNA (convert to hostap ioctl)
WLAN_SUBCMD_GETTXANTENNA (convert to hostap ioctl)
WLAN_SET_ATIM_WINDOW
WLANSETBCNAVG
WLANGETBCNAVG
WLANSETDATAAVG
WLANNF (should use WEXT quality)
WLANRSSI (should use WEXT quality)
WLANSNR (can calculate from NF and RSSI)
WLAN_SET_LISTEN_INTERVAL
WLAN_GET_LISTEN_INTERVAL
WLAN_SET_MULTIPLE_DTIM
WLAN_GET_MULTIPLE_DTIM
WLAN_SET_LINKMODE (hook into radiotap stuff)
WLAN_GET_LINKMODE
WLAN_SET_RADIOMODE (SIWMODE -> MONITOR/radiotap like ipw*)
WLAN_GET_RADIOMODE
WLAN_SET_DEBUGMODE (convert to new debug levels)
WLAN_GET_DEBUGMODE
WLAN_GET_TSF
WLAN_GET_ADHOC_STATUS (useless)
WLAN_GET_TX_RATE (use SIWRATE)
WLANGETLOG (move to get_stats and ethdev stats)
WLAN_TPCCFG
WLAN_POWERCFG (move to SIWPOWER and/or SIWTXPOW)
WLAN_AUTO_FREQ_SET (move to SIWFREQ)
WLAN_AUTO_FREQ_GET
WLAN_ADAPT_RATESET (move to SIWRATE)
WLAN_INACTIVITY_TIMEOUT
WLAN_GET_RXINFO (useless)
More information about the libertas-dev
mailing list