mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
make firmware buffer persistent to not request firmware on every access
This commit is contained in:
parent
c2741d0bec
commit
499e15d791
4 changed files with 48 additions and 38 deletions
|
@ -161,6 +161,17 @@ struct registry_priv {
|
|||
|
||||
#define MAX_CONTINUAL_URB_ERR 4
|
||||
|
||||
enum firmware_source {
|
||||
FW_SOURCE_IMG_FILE = 0,
|
||||
FW_SOURCE_HEADER_FILE = 1, /* from header file */
|
||||
};
|
||||
|
||||
struct rt_firmware {
|
||||
enum firmware_source eFWSource;
|
||||
u8 *szFwBuffer;
|
||||
u32 ulFwLength;
|
||||
};
|
||||
|
||||
struct dvobj_priv {
|
||||
struct adapter *if1;
|
||||
struct adapter *if2;
|
||||
|
@ -176,6 +187,8 @@ struct dvobj_priv {
|
|||
|
||||
u8 irq_alloc;
|
||||
|
||||
struct rt_firmware firmware;
|
||||
|
||||
/*-------- below is for USB INTERFACE --------*/
|
||||
|
||||
u8 nr_endpoint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue