This driver defined constants FRAME_TYPE_* to represent frame control
field codes; however, these constants are already defined in the header
'linux/ieee80211.h' as  IEEE80211_STYPE_*.  This change removes the locally
defined constants and substitutes the kernel's constants.
Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Reviewed-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
                                   priv->aplist.ap[i].bssid, ETH_ALEN) != 0)
                                continue;
 
-                       if (ap_info->frame_type == FRAME_TYPE_PROBE_RESP)
+                       if (ap_info->frame_type == IEEE80211_STYPE_PROBE_RESP)
                                get_ap_information(priv, ap_info,
                                                   &priv->aplist.ap[i]);
                        return;
 
        __le16 capability;      /* +12 */
        u8 frame_type;  /* +14 */
        u8 ch_info;     /* +15 */
-#define FRAME_TYPE_BEACON      0x80
-#define FRAME_TYPE_PROBE_RESP  0x50
        __le16 body_size;       /* +16 */
        u8 body[1024];  /* +18 */
        /* +1032 */
 
 struct association_request_t {
        u8 type;
-#define FRAME_TYPE_ASSOC_REQ   0x00
-#define FRAME_TYPE_REASSOC_REQ 0x20
        u8 pad;
        __le16 capability;
        __le16 listen_interval;
 
 struct association_response_t {
        u8 type;
-#define FRAME_TYPE_ASSOC_RESP  0x10
-#define FRAME_TYPE_REASSOC_RESP        0x30
        u8 pad;
        __le16 capability;
        __le16 status;