Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
d7158ffb
D
Docs
项目概览
OpenHarmony
/
Docs
接近 2 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
d7158ffb
编写于
7月 23, 2022
作者:
L
liyan
提交者:
Gitee
7月 23, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改错误链接
Signed-off-by:
N
li-yan339
<
liyan339@h-partners.com
>
上级
334ae086
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
14 addition
and
14 deletion
+14
-14
zh-cn/device-dev/reference/hdi-apis/_i_wi_fi_base_feature.md
zh-cn/device-dev/reference/hdi-apis/_i_wi_fi_base_feature.md
+14
-14
未找到文件。
zh-cn/device-dev/reference/hdi-apis/_i_wi_fi_base_feature.md
浏览文件 @
d7158ffb
...
...
@@ -17,13 +17,13 @@
| -------- | -------- |
|
[
ifName
](
#ifname
)
[
[IFNAME_MAX_LEN
](
_w_l_a_n.md#ga63637ece87095ff8d153f650434ecf97
)
] | 网卡名称。 |
|
**type**
| 特性的类型,参考
[
FeatureType
](
_w_l_a_n.md#featuretype
)
。 |
| (
[getNetworkIfaceName](#getnetworkifacename)
)(const
struct
[ERROR:Invalid
link:zh-cn_topic_0000001357621445.xml#xref1160037662083932,link:zh-cn_topic_0000001357621445.xml](zh-cn_topic_0000001357621445.xml)
\*
baseFeature) | 根据基本特性获取网卡名称。
[
更多...
](
#getnetworkifacename
)
|
| (
[getFeatureType](#getfeaturetype)
)(const
struct
[ERROR:Invalid
link:zh-cn_topic_0000001357621445.xml#xref2042681197083932,link:zh-cn_topic_0000001357621445.xml](zh-cn_topic_0000001357621445.xml)
\*
baseFeature) | 获取基本特性的类型
[
FeatureType
](
_w_l_a_n.md#featuretype
)
。
[
更多...
](
#getfeaturetype
)
|
| (
[setMacAddress](#setmacaddress)
)(const
struct
[ERROR:Invalid
link:zh-cn_topic_0000001357621445.xml#xref1120460385083932,link:zh-cn_topic_0000001357621445.xml](zh-cn_topic_0000001357621445.xml)
\*baseFeature,
unsigned
char
\*mac,
uint8_t
len) | 根据传入参数设置对应网卡的MAC地址。
[
更多...
](
#setmacaddress
)
|
| (
[getDeviceMacAddress](#getdevicemacaddress)
)(const
struct
[ERROR:Invalid
link:zh-cn_topic_0000001357621445.xml#xref330712474083932,link:zh-cn_topic_0000001357621445.xml](zh-cn_topic_0000001357621445.xml)
\*baseFeature,
unsigned
char
\*mac,
uint8_t
len) | 获取设备的MAC地址。
[
更多...
](
#getdevicemacaddress
)
|
| (
[getValidFreqsWithBand](#getvalidfreqswithband)
)(const
struct
[ERROR:Invalid
link:zh-cn_topic_0000001357621445.xml#xref1369279207083932,link:zh-cn_topic_0000001357621445.xml](zh-cn_topic_0000001357621445.xml)
\*baseFeature,
int32_t
band,
int32_t
\*freqs,
uint32_t
count,
uint32_t
\*
num) | 获取指定频段(2.4G或者5G)下支持的频率。
[
更多...
](
#getvalidfreqswithband
)
|
| (
[setTxPower](#settxpower)
)(const
struct
[ERROR:Invalid
link:zh-cn_topic_0000001357621445.xml#xref1878860227083932,link:zh-cn_topic_0000001357621445.xml](zh-cn_topic_0000001357621445.xml)
\*baseFeature,
int32_t
power) | 设置发射功率。
[
更多...
](
#settxpower
)
|
| (
[getChipId](#getchipid)
)(const
struct
[ERROR:Invalid
link:zh-cn_topic_0000001357621445.xml#xref407053875083932,link:zh-cn_topic_0000001357621445.xml](zh-cn_topic_0000001357621445.xml)
\*baseFeature,
uint8_t
\*
chipId) | 获得当前驱动的芯片ID。
[
更多...
](
#getchipid
)
|
| (
[getNetworkIfaceName](#getnetworkifacename)
)(const
struct
IWiFiBaseFeature
\*
baseFeature) | 根据基本特性获取网卡名称。
[
更多...
](
#getnetworkifacename
)
|
| (
[getFeatureType](#getfeaturetype)
)(const
struct
IWiFiBaseFeature
\*
baseFeature) | 获取基本特性的类型
[
FeatureType
](
_w_l_a_n.md#featuretype
)
。
[
更多...
](
#getfeaturetype
)
|
| (
[setMacAddress](#setmacaddress)
)(const
struct
IWiFiBaseFeature
\*baseFeature,
unsigned
char
\*mac,
uint8_t
len) | 根据传入参数设置对应网卡的MAC地址。
[
更多...
](
#setmacaddress
)
|
| (
[getDeviceMacAddress](#getdevicemacaddress)
)(const
struct
IWiFiBaseFeature
\*baseFeature,
unsigned
char
\*mac,
uint8_t
len) | 获取设备的MAC地址。
[
更多...
](
#getdevicemacaddress
)
|
| (
[getValidFreqsWithBand](#getvalidfreqswithband)
)(const
struct
IWiFiBaseFeature
\*baseFeature,
int32_t
band,
int32_t
\*freqs,
uint32_t
count,
uint32_t
\*
num) | 获取指定频段(2.4G或者5G)下支持的频率。
[
更多...
](
#getvalidfreqswithband
)
|
| (
[setTxPower](#settxpower)
)(const
struct
IWiFiBaseFeature
\*baseFeature,
int32_t
power) | 设置发射功率。
[
更多...
](
#settxpower
)
|
| (
[getChipId](#getchipid)
)(const
struct
IWiFiBaseFeature
\*baseFeature,
uint8_t
\*
chipId) | 获得当前驱动的芯片ID。
[
更多...
](
#getchipid
)
|
| (
[getIfNamesByChipId](#getifnamesbychipid)
)(const
uint8_t
chipId,
char
\*\*ifNames,
uint32_t
\*
num) | 通过芯片ID获得当前芯片所有的网卡名称。
[
更多...
](
#getifnamesbychipid
)
|
...
...
@@ -58,7 +58,7 @@ int32_t(* IWiFiBaseFeature::getChipId) (const struct IWiFiBaseFeature *baseFeatu
| 名称 | 描述 |
| -------- | -------- |
| baseFeature | 输入参数,基本特性
[
ERROR:Invalid link:zh-cn_topic_0000001357621445.xml#xref473855951083932,link:zh-cn_topic_0000001357621445.xml
](
zh-cn_topic_0000001357621445.xml
)
。 |
| baseFeature | 输入参数,基本特性。 |
| chipId | 输出参数,获得的芯片ID。 |
**返回:**
...
...
@@ -83,7 +83,7 @@ int32_t(* IWiFiBaseFeature::getDeviceMacAddress) (const struct IWiFiBaseFeature
| 名称 | 描述 |
| -------- | -------- |
| baseFeature | 输入参数,基本特性
[
ERROR:Invalid link:zh-cn_topic_0000001357621445.xml#xref1226402066083932,link:zh-cn_topic_0000001357621445.xml
](
zh-cn_topic_0000001357621445.xml
)
。 |
| baseFeature | 输入参数,基本特性。 |
| mac | 输出参数,获得的MAC地址。 |
| len | 输入参数,获得的MAC地址长度。 |
...
...
@@ -109,7 +109,7 @@ int32_t(*IWiFiBaseFeature::getFeatureType) (const struct IWiFiBaseFeature *baseF
| 名称 | 描述 |
| -------- | -------- |
| baseFeature | 输入参数,基本特性
[
ERROR:Invalid link:zh-cn_topic_0000001357621445.xml#xref1934582661083932,link:zh-cn_topic_0000001357621445.xml
](
zh-cn_topic_0000001357621445.xml
)
。 |
| baseFeature | 输入参数,基本特性。 |
**返回:**
...
...
@@ -159,7 +159,7 @@ const char*(* IWiFiBaseFeature::getNetworkIfaceName) (const struct IWiFiBaseFeat
| 名称 | 描述 |
| -------- | -------- |
| baseFeature | 输入参数,基本特性
[
ERROR:Invalid link:zh-cn_topic_0000001357621445.xml#xref1207169342083932,link:zh-cn_topic_0000001357621445.xml
](
zh-cn_topic_0000001357621445.xml
)
。 |
| baseFeature | 输入参数,基本特性。 |
**返回:**
...
...
@@ -183,7 +183,7 @@ int32_t(* IWiFiBaseFeature::getValidFreqsWithBand) (const struct IWiFiBaseFeatur
| 名称 | 描述 |
| -------- | -------- |
| baseFeature | 输入参数,基本特性
[
ERROR:Invalid link:zh-cn_topic_0000001357621445.xml#xref1345697859083932,link:zh-cn_topic_0000001357621445.xml
](
zh-cn_topic_0000001357621445.xml
)
。 |
| baseFeature | 输入参数,基本特性。 |
| band | 输入参数,指定的一个频段。 |
| freqs | 输出参数,保存支持的频率。 |
| count | 输入参数,频率数组的元素个数。 |
...
...
@@ -223,7 +223,7 @@ int32_t(* IWiFiBaseFeature::setMacAddress) (const struct IWiFiBaseFeature *baseF
| 名称 | 描述 |
| -------- | -------- |
| baseFeature | 输入参数,基本特性
[
ERROR:Invalid link:zh-cn_topic_0000001357621445.xml#xref1858718007083932,link:zh-cn_topic_0000001357621445.xml
](
zh-cn_topic_0000001357621445.xml
)
。 |
| baseFeature | 输入参数,基本特性。 |
| mac | 输入参数,设置的MAC地址。 |
| len | 输入参数,设置的MAC地址长度。 |
...
...
@@ -249,7 +249,7 @@ int32_t(* IWiFiBaseFeature::setTxPower) (const struct IWiFiBaseFeature *baseFeat
| 名称 | 描述 |
| -------- | -------- |
| baseFeature | 输入参数,基本特性
[
ERROR:Invalid link:zh-cn_topic_0000001357621445.xml#xref793467134083932,link:zh-cn_topic_0000001357621445.xml
](
zh-cn_topic_0000001357621445.xml
)
。 |
| baseFeature | 输入参数,基本特性。 |
| power | 输入参数,设置的发射功率。 |
**返回:**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录