Use the minimal rate configured in the basic rates set as the AP broadcast and multicast rate. The minimal rate is used to ensure weak links can still communicate. When the basic rates contains at least one OFDM rate, configure all unicast TX rates to OFDM only. Unify rate configuration on initialization and on change notification into a single function. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/*
|
|
* This file is part of wl1271
|
|
*
|
|
* Copyright (C) 2009 Nokia Corporation
|
|
*
|
|
* Contact: Luciano Coelho <luciano.coelho@nokia.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
* 02110-1301 USA
|
|
*
|
|
*/
|
|
|
|
#ifndef __INIT_H__
|
|
#define __INIT_H__
|
|
|
|
#include "wl12xx.h"
|
|
|
|
int wl1271_hw_init_power_auth(struct wl1271 *wl);
|
|
int wl1271_sta_init_templates_config(struct wl1271 *wl);
|
|
int wl1271_init_phy_config(struct wl1271 *wl);
|
|
int wl1271_init_pta(struct wl1271 *wl);
|
|
int wl1271_init_energy_detection(struct wl1271 *wl);
|
|
int wl1271_chip_specific_init(struct wl1271 *wl);
|
|
int wl1271_hw_init(struct wl1271 *wl);
|
|
int wl1271_init_ap_rates(struct wl1271 *wl);
|
|
|
|
#endif
|