Skip to content

: Proper compat WEXT support.

David Miller linux-wireless lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12: wext: Remove inline from get_priv_size() and adjust_priv_size().net/wireless/wext.c+2 -30 replies
2/12: wext: Make adjust_priv_size() take a "struct iw_point *".net/wireless/wext.c+3 -30 replies
3/12: wext: Extract standard call iw_point handling into seperate function.net/wireless/wext.c+134 -1240 replies
4/12: wext: Extract private call iw_point handling into seperate functions.net/wireless/wext.c+74 -670 replies
5/12: wext: Pull ioctl permission checking out into helper function.net/wireless/wext.c+15 -70 replies
6/12: wext: Parameterize the standard/private handlers.net/wireless/wext.c+16 -80 replies
7/12: wext: Pass iwreq pointer down into standard/private handlers.net/wireless/wext.c+8 -90 replies
8/12: wext: Pull top-level ioctl dispatch logic into helper function.net/wireless/wext.c+20 -60 replies
9/12: wext: Dispatch and handle compat ioctls entirely in net/wireless/wext.cfs/compat_ioctl.c include/linux/wireless.h include/net/wext.h +2 more+134 -60 replies
10/12: wext: Remove compat handling from fs/compat_ioctl.cfs/compat_ioctl.c+1 -1060 replies
11/12: wext: Create IW_REQUEST_FLAG_COMPAT and set it as needed.include/net/iw_handler.h net/wireless/wext.c+34 -410 replies
12/12: wext: Emit event stream entries correctly when compat.drivers/net/ps3_gelic_wireless.c drivers/net/wireless/airo.c drivers/net/wireless/atmel.c +15 more+345 -3080 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/12]: Proper compat WEXT support.

This is what I consider the final submission of this patch set, it's ready to go. I also made sure all the patches are checkpatch clean.

I've actually tested these exact patches on sparc64 with a RNDIS based USB wireless device from Linksys. I was able to perform iwconfig commands, check iwlist, bring up the interface and use it properly. All with 32-bit tools. I've also done an allmodconfig sanity build check on sparc64. Masakazu-san has tested these patches extensively on PS3 systems, using the gelic and zd1211 drivers. In particular he tested wpa_supplicant use.

The patch set starts by cleaning up the code so that we can avoid having multiple copies of the WEXT main dispatch routines, one for compat and one for the non-compat case.

Next, basic compat level handling of the WEXT ioctl is added, and the equivalent code in the compat_ioctl.c file is removed.

Finally, compat IWE stream munging is added for the wireless layer. When we get a compat WEXT ioctl request, we set a bit in the request info blob, and the stream building helpers tip off this to format the stream entries properly.

These patches are against net-next-2.6 and are also available as a GIT tree at:

master.kernel.org:/pub/scm/linux/kernel/git/davem/wireless-2.6.git

John, please pull or apply as you deem appropriate.