Changeset 14239


Ignore:
Timestamp:
2009-01-28T14:44:24+01:00 (8 years ago)
Author:
juhosg
Message:

[package] wpa_supplicant: refresh patches

Location:
trunk/package/wpa_supplicant/patches
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/wpa_supplicant/patches/100-timestamp_check.patch

    r13723 r14239  
    1 Index: wpa_supplicant-0.6.6/src/tls/x509v3.c 
    2 =================================================================== 
    3 --- wpa_supplicant-0.6.6.orig/src/tls/x509v3.c  2008-02-23 03:45:24.000000000 +0100 
    4 +++ wpa_supplicant-0.6.6/src/tls/x509v3.c       2008-07-09 12:47:19.000000000 +0200 
    5 @@ -1591,8 +1591,11 @@ 
     1--- a/src/tls/x509v3.c 
     2+++ b/src/tls/x509v3.c 
     3@@ -1591,8 +1591,11 @@ int x509_certificate_chain_validate(stru 
    64                if (chain_trusted) 
    75                        continue; 
  • trunk/package/wpa_supplicant/patches/110-roaming.patch

    r13723 r14239  
    11This patch decreases the timeouts for assoc/auth to more realistic values. Improves roaming speed 
    2 Index: wpa_supplicant-0.6.6/wpa_supplicant/events.c 
    3 =================================================================== 
    4 --- wpa_supplicant-0.6.6.orig/wpa_supplicant/events.c   2008-02-23 03:45:24.000000000 +0100 
    5 +++ wpa_supplicant-0.6.6/wpa_supplicant/events.c        2008-07-09 15:13:37.000000000 +0200 
    6 @@ -807,7 +807,7 @@ 
     2--- a/wpa_supplicant/events.c 
     3+++ b/wpa_supplicant/events.c 
     4@@ -807,7 +807,7 @@ static void wpa_supplicant_event_assoc(s 
    75                wpa_supplicant_set_state(wpa_s, WPA_COMPLETED); 
    86        } else if (!ft_completed) { 
     
    1311        wpa_supplicant_cancel_scan(wpa_s); 
    1412  
    15 Index: wpa_supplicant-0.6.6/wpa_supplicant/scan.c 
    16 =================================================================== 
    17 --- wpa_supplicant-0.6.6.orig/wpa_supplicant/scan.c     2008-02-23 03:45:24.000000000 +0100 
    18 +++ wpa_supplicant-0.6.6/wpa_supplicant/scan.c  2008-07-09 15:13:37.000000000 +0200 
    19 @@ -145,6 +145,7 @@ 
     13--- a/wpa_supplicant/scan.c 
     14+++ b/wpa_supplicant/scan.c 
     15@@ -145,6 +145,7 @@ static void wpa_supplicant_scan(void *el 
    2016                return; 
    2117        } 
     
    2521                ieee80211_sta_set_probe_req_ie(wpa_s, extra_ie, extra_ie_len); 
    2622                ret = ieee80211_sta_req_scan(wpa_s, ssid ? ssid->ssid : NULL, 
    27 @@ -157,7 +158,7 @@ 
     23@@ -157,7 +158,7 @@ static void wpa_supplicant_scan(void *el 
    2824  
    2925        if (ret) { 
     
    3430 } 
    3531  
    36 Index: wpa_supplicant-0.6.6/wpa_supplicant/wpa_supplicant.c 
    37 =================================================================== 
    38 --- wpa_supplicant-0.6.6/wpa_supplicant/wpa_supplicant.c-old    2008-09-20 22:37:09.000000000 -0400 
    39 +++ wpa_supplicant-0.6.6/wpa_supplicant/wpa_supplicant.c        2008-09-20 22:37:43.000000000 -0400 
    40 @@ -1118,10 +1118,10 @@ 
     32--- a/wpa_supplicant/wpa_supplicant.c 
     33+++ b/wpa_supplicant/wpa_supplicant.c 
     34@@ -1118,10 +1118,10 @@ void wpa_supplicant_associate(struct wpa 
    4135  
    4236                if (assoc_failed) { 
  • trunk/package/wpa_supplicant/patches/120-ssid_scan.patch

    r11833 r14239  
    11Don't do broadcast SSID scans, if all configured SSIDs use scan_ssid=1. Improves background scanning in supplicant-managed roaming. 
    22 
    3 Index: wpa_supplicant-0.6.3/wpa_supplicant/scan.c 
    4 =================================================================== 
    5 --- wpa_supplicant-0.6.3.orig/wpa_supplicant/scan.c     2008-07-09 18:53:28.000000000 +0200 
    6 +++ wpa_supplicant-0.6.3/wpa_supplicant/scan.c  2008-07-09 19:00:55.000000000 +0200 
    7 @@ -48,11 +48,23 @@ 
     3--- a/wpa_supplicant/scan.c 
     4+++ b/wpa_supplicant/scan.c 
     5@@ -48,11 +48,23 @@ static void wpa_supplicant_scan(void *el 
    86        int enabled, scan_req = 0, ret; 
    97        const u8 *extra_ie = NULL; 
     
    2927        while (ssid) { 
    3028                if (!ssid->disabled) { 
    31 @@ -125,6 +137,10 @@ 
     29@@ -125,6 +137,10 @@ static void wpa_supplicant_scan(void *el 
    3230                return; 
    3331        } 
  • trunk/package/wpa_supplicant/patches/130-scanning.patch

    r13723 r14239  
    33--- a/wpa_supplicant/config.h 
    44+++ b/wpa_supplicant/config.h 
    5 @@ -97,6 +97,12 @@ 
     5@@ -97,6 +97,12 @@ struct wpa_config { 
    66        int ap_scan; 
    77  
     
    1818--- a/wpa_supplicant/config_file.c 
    1919+++ b/wpa_supplicant/config_file.c 
    20 @@ -313,6 +313,13 @@ 
     20@@ -313,6 +313,13 @@ static int wpa_config_process_ap_scan(st 
    2121        return 0; 
    2222 } 
     
    3232 static int wpa_config_process_fast_reauth(struct wpa_config *config, char *pos) 
    3333 { 
    34 @@ -446,6 +453,9 @@ 
     34@@ -446,6 +453,9 @@ static int wpa_config_process_global(str 
    3535        if (os_strncmp(pos, "ap_scan=", 8) == 0) 
    3636                return wpa_config_process_ap_scan(config, pos + 8); 
     
    4242                return wpa_config_process_fast_reauth(config, pos + 12); 
    4343  
    44 @@ -819,6 +831,8 @@ 
     44@@ -819,6 +829,8 @@ static void wpa_config_write_global(FILE 
    4545                fprintf(f, "eapol_version=%d\n", config->eapol_version); 
    4646        if (config->ap_scan != DEFAULT_AP_SCAN) 
     
    5353--- a/wpa_supplicant/events.c 
    5454+++ b/wpa_supplicant/events.c 
    55 @@ -601,6 +601,9 @@ 
     55@@ -601,6 +601,9 @@ static void wpa_supplicant_event_scan_re 
    5656        if (wpa_s->conf->ap_scan == 2 || wpa_s->disconnected) 
    5757                return; 
     
    6363                for (prio = 0; prio < wpa_s->conf->num_prio; prio++) { 
    6464                        selected = wpa_supplicant_select_bss( 
    65 @@ -613,6 +616,7 @@ 
     65@@ -613,6 +616,7 @@ static void wpa_supplicant_event_scan_re 
    6666                        wpa_printf(MSG_DEBUG, "No APs found - clear blacklist " 
    6767                                   "and try again"); 
     
    7171                        break; 
    7272                } 
    73 @@ -640,10 +644,12 @@ 
     73@@ -640,10 +644,12 @@ static void wpa_supplicant_event_scan_re 
    7474                rsn_preauth_scan_results(wpa_s->wpa, wpa_s->scan_res); 
    7575        } else { 
     
    8585  
    8686 req_scan: 
    87 @@ -847,6 +853,9 @@ 
     87@@ -847,6 +853,9 @@ static void wpa_supplicant_event_disasso 
    8888        } 
    8989        if (wpa_s->wpa_state >= WPA_ASSOCIATED) 
     
    9393+ 
    9494        bssid = wpa_s->bssid; 
    95         if (os_memcmp(bssid, "\x00\x00\x00\x00\x00\x00", ETH_ALEN) == 0) 
     95        if (is_zero_ether_addr(bssid)) 
    9696                bssid = wpa_s->pending_bssid; 
    9797--- a/wpa_supplicant/wpa_supplicant_i.h 
    9898+++ b/wpa_supplicant/wpa_supplicant_i.h 
    99 @@ -334,6 +334,7 @@ 
    100         struct wpa_client_mlme mlme; 
    101         int use_client_mlme; 
    102         int driver_4way_handshake; 
     99@@ -334,6 +334,7 @@ struct wpa_supplicant { 
     100        struct wpa_client_mlme mlme; 
     101        int use_client_mlme; 
     102        int driver_4way_handshake; 
    103103+       struct os_time last_scan_results; 
    104  
    105         int pending_mic_error_report; 
    106         int pending_mic_error_pairwise; 
    107 @@ -385,6 +387,7 @@ 
     104  
     105        int pending_mic_error_report; 
     106        int pending_mic_error_pairwise; 
     107@@ -385,6 +386,7 @@ int wpa_supplicant_scard_init(struct wpa 
    108108  
    109109 /* scan.c */ 
     
    115115--- a/wpa_supplicant/scan.c 
    116116+++ b/wpa_supplicant/scan.c 
    117 @@ -40,6 +40,18 @@ 
     117@@ -40,6 +40,18 @@ static void wpa_supplicant_gen_assoc_eve 
    118118        wpa_supplicant_event(wpa_s, EVENT_ASSOC, &data); 
    119119 } 
     
    134134 static void wpa_supplicant_scan(void *eloop_ctx, void *timeout_ctx) 
    135135 { 
    136 @@ -150,8 +162,9 @@ 
     136@@ -150,8 +162,9 @@ static void wpa_supplicant_scan(void *el 
    137137        } else 
    138138                wpa_s->prev_scan_ssid = BROADCAST_SSID_SCAN; 
     
    144144+           !wpa_s->use_client_mlme)) { 
    145145                wpa_s->scan_res_tried++; 
     146                wpa_s->scan_req = scan_req; 
    146147                wpa_printf(MSG_DEBUG, "Trying to get current scan results " 
    147                            "first without requesting a new scan to speed up " 
    148148--- a/wpa_supplicant/wpa_supplicant.c 
    149149+++ b/wpa_supplicant/wpa_supplicant.c 
    150 @@ -1441,6 +1441,9 @@ 
     150@@ -1441,6 +1441,9 @@ void wpa_supplicant_rx_eapol(void *ctx,  
    151151 { 
    152152        struct wpa_supplicant *wpa_s = ctx; 
  • trunk/package/wpa_supplicant/patches/140-quality.patch

    r13723 r14239  
    1 Index: wpa_supplicant-0.6.6/wpa_supplicant/wpa_supplicant.c 
    2 =================================================================== 
    3 --- wpa_supplicant-0.6.6.orig/wpa_supplicant/wpa_supplicant.c   2008-07-24 16:28:58.000000000 +0200 
    4 +++ wpa_supplicant-0.6.6/wpa_supplicant/wpa_supplicant.c        2008-07-24 16:47:40.000000000 +0200 
    5 @@ -1206,7 +1206,7 @@ 
     1--- a/wpa_supplicant/wpa_supplicant.c 
     2+++ b/wpa_supplicant/wpa_supplicant.c 
     3@@ -1206,7 +1206,7 @@ static int wpa_supplicant_get_scan_resul 
    64 { 
    75 #define SCAN_AP_LIMIT 128 
     
    1210  
    1311        results = os_malloc(SCAN_AP_LIMIT * sizeof(struct wpa_scan_result)); 
    14 @@ -1303,6 +1303,21 @@ 
     12@@ -1303,6 +1303,21 @@ static int wpa_supplicant_get_scan_resul 
    1513                res->res[res->num++] = r; 
    1614        } 
Note: See TracChangeset for help on using the changeset viewer.