Only wl127x chips use the rx_mem_pool_addr values, which need to be given to the firmware as part of the RX path. Move this from core to the wl12xx driver. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>
39 lines
1,001 B
C
39 lines
1,001 B
C
/*
|
|
* This file is part of wl12xx
|
|
*
|
|
* Copyright (C) 2011 Texas Instruments Inc.
|
|
*
|
|
* 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 __WL12XX_PRIV_H__
|
|
#define __WL12XX_PRIV_H__
|
|
|
|
#include "conf.h"
|
|
|
|
struct wl127x_rx_mem_pool_addr {
|
|
u32 addr;
|
|
u32 addr_extra;
|
|
};
|
|
|
|
struct wl12xx_priv {
|
|
struct wl12xx_priv_conf conf;
|
|
|
|
int ref_clock;
|
|
int tcxo_clock;
|
|
};
|
|
|
|
#endif /* __WL12XX_PRIV_H__ */
|