ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/wpa/dist/src/ap/hw_features.h
(Generate patch)

Comparing vendor/wpa/dist/src/ap/hw_features.h (file contents):
Revision 9638 by laffer1, Sun Oct 22 18:04:47 2017 UTC vs.
Revision 9639 by laffer1, Sun Oct 22 18:11:47 2017 UTC

# Line 2 | Line 2
2   * hostapd / Hardware feature query and different modes
3   * Copyright 2002-2003, Instant802 Networks, Inc.
4   * Copyright 2005-2006, Devicescape Software, Inc.
5 + * Copyright (c) 2008-2011, Jouni Malinen <j@w1.fi>
6   *
7   * This program is free software; you can redistribute it and/or modify
8   * it under the terms of the GNU General Public License version 2 as
# Line 25 | Line 26 | const char * hostapd_hw_mode_txt(int mode);
26   int hostapd_hw_get_freq(struct hostapd_data *hapd, int chan);
27   int hostapd_hw_get_channel(struct hostapd_data *hapd, int freq);
28   int hostapd_check_ht_capab(struct hostapd_iface *iface);
29 + int hostapd_prepare_rates(struct hostapd_iface *iface,
30 +                          struct hostapd_hw_modes *mode);
31   #else /* NEED_AP_MLME */
32   static inline void
33   hostapd_free_hw_features(struct hostapd_hw_modes *hw_features,
# Line 39 | Line 42 | static inline int hostapd_get_hw_features(struct hosta
42  
43   static inline int hostapd_select_hw_mode(struct hostapd_iface *iface)
44   {
45 <        return -1;
45 >        return -100;
46   }
47  
48   static inline const char * hostapd_hw_mode_txt(int mode)
# Line 53 | Line 56 | static inline int hostapd_hw_get_freq(struct hostapd_d
56   }
57  
58   static inline int hostapd_check_ht_capab(struct hostapd_iface *iface)
59 + {
60 +        return 0;
61 + }
62 +
63 + static inline int hostapd_prepare_rates(struct hostapd_iface *iface,
64 +                                        struct hostapd_hw_modes *mode)
65   {
66          return 0;
67   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines