aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/iw_handler.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2013-12-16 05:04:49 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-12-16 05:04:49 -0500
commit348324c5b10bcba8d9daabdfb85a6927311be34f (patch)
treed06ca3a264407a14a1f36c1b798d6dc0dc1582d8 /include/net/iw_handler.h
parent1e63bd9cc43db5400a1423a7ec8266b4e7c54bd0 (diff)
parent319e2e3f63c348a9b66db4667efa73178e18b17d (diff)
Merge tag 'v3.13-rc4' into next
Synchronize with mainline to bring in the new keycode definitions and new hwmon API.
Diffstat (limited to 'include/net/iw_handler.h')
-rw-r--r--include/net/iw_handler.h38
1 files changed, 13 insertions, 25 deletions
diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h
index 5d5a6a4732ef..a830b01baba4 100644
--- a/include/net/iw_handler.h
+++ b/include/net/iw_handler.h
@@ -432,44 +432,32 @@ struct iw_public_data {
432/* First : function strictly used inside the kernel */ 432/* First : function strictly used inside the kernel */
433 433
434/* Handle /proc/net/wireless, called in net/code/dev.c */ 434/* Handle /proc/net/wireless, called in net/code/dev.c */
435extern int dev_get_wireless_info(char * buffer, char **start, off_t offset, 435int dev_get_wireless_info(char *buffer, char **start, off_t offset, int length);
436 int length);
437 436
438/* Second : functions that may be called by driver modules */ 437/* Second : functions that may be called by driver modules */
439 438
440/* Send a single event to user space */ 439/* Send a single event to user space */
441extern void wireless_send_event(struct net_device * dev, 440void wireless_send_event(struct net_device *dev, unsigned int cmd,
442 unsigned int cmd, 441 union iwreq_data *wrqu, const char *extra);
443 union iwreq_data * wrqu,
444 const char * extra);
445 442
446/* We may need a function to send a stream of events to user space. 443/* We may need a function to send a stream of events to user space.
447 * More on that later... */ 444 * More on that later... */
448 445
449/* Standard handler for SIOCSIWSPY */ 446/* Standard handler for SIOCSIWSPY */
450extern int iw_handler_set_spy(struct net_device * dev, 447int iw_handler_set_spy(struct net_device *dev, struct iw_request_info *info,
451 struct iw_request_info * info, 448 union iwreq_data *wrqu, char *extra);
452 union iwreq_data * wrqu,
453 char * extra);
454/* Standard handler for SIOCGIWSPY */ 449/* Standard handler for SIOCGIWSPY */
455extern int iw_handler_get_spy(struct net_device * dev, 450int iw_handler_get_spy(struct net_device *dev, struct iw_request_info *info,
456 struct iw_request_info * info, 451 union iwreq_data *wrqu, char *extra);
457 union iwreq_data * wrqu,
458 char * extra);
459/* Standard handler for SIOCSIWTHRSPY */ 452/* Standard handler for SIOCSIWTHRSPY */
460extern int iw_handler_set_thrspy(struct net_device * dev, 453int iw_handler_set_thrspy(struct net_device *dev, struct iw_request_info *info,
461 struct iw_request_info *info, 454 union iwreq_data *wrqu, char *extra);
462 union iwreq_data * wrqu,
463 char * extra);
464/* Standard handler for SIOCGIWTHRSPY */ 455/* Standard handler for SIOCGIWTHRSPY */
465extern int iw_handler_get_thrspy(struct net_device * dev, 456int iw_handler_get_thrspy(struct net_device *dev, struct iw_request_info *info,
466 struct iw_request_info *info, 457 union iwreq_data *wrqu, char *extra);
467 union iwreq_data * wrqu,
468 char * extra);
469/* Driver call to update spy records */ 458/* Driver call to update spy records */
470extern void wireless_spy_update(struct net_device * dev, 459void wireless_spy_update(struct net_device *dev, unsigned char *address,
471 unsigned char * address, 460 struct iw_quality *wstats);
472 struct iw_quality * wstats);
473 461
474/************************* INLINE FUNTIONS *************************/ 462/************************* INLINE FUNTIONS *************************/
475/* 463/*