File tree 5 files changed +10
-22
lines changed
5 files changed +10
-22
lines changed Original file line number Diff line number Diff line change 51
51
# xargs -n1 | sort | uniq -d;
52
52
# done
53
53
54
+ # 20231005: Remove man page link for now gone net80211 function.
55
+ OLD_FILES+=usr/share/man/man9/ieee80211_unref_node.9.gz
56
+
54
57
# 20231005: bsdconfig remove support for floppy and ftp
55
58
OLD_FILES+=usr/share/bsdconfig/media/floppy.subr
56
59
OLD_FILES+=usr/share/bsdconfig/media/ftp.subr
Original file line number Diff line number Diff line change @@ -1212,8 +1212,7 @@ MLINKS+=ieee80211_node.9 ieee80211_dump_node.9 \
1212
1212
ieee80211_node.9 ieee80211_find_rxnode_withkey.9 \
1213
1213
ieee80211_node.9 ieee80211_free_node.9 \
1214
1214
ieee80211_node.9 ieee80211_iterate_nodes.9 \
1215
- ieee80211_node.9 ieee80211_ref_node.9 \
1216
- ieee80211_node.9 ieee80211_unref_node.9
1215
+ ieee80211_node.9 ieee80211_ref_node.9
1217
1216
MLINKS+ =ieee80211_output.9 ieee80211_process_callback.9 \
1218
1217
ieee80211_output.9 M_SEQNO_GET.9 \
1219
1218
ieee80211_output.9 M_WME_GETAC.9
Original file line number Diff line number Diff line change 24
24
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25
25
.\" SUCH DAMAGE.
26
26
.\"
27
- .Dd April 28, 2010
27
+ .Dd October 2, 2023
28
28
.Dt IEEE80211_NODE 9
29
29
.Os
30
30
.Sh NAME
50
50
.Fn ieee80211_ref_node " struct ieee80211_node *"
51
51
.\"
52
52
.Ft void
53
- .Fn ieee80211_unref_node " struct ieee80211_node *"
54
- .\"
55
- .Ft void
56
53
.Fn ieee80211_free_node " struct ieee80211_node *"
57
54
.\"
58
55
.Ft void
@@ -106,14 +103,10 @@ Routines that lookup a table entry return a
106
103
(i.e. a pointer to a table entry with the reference count incremented).
107
104
The
108
105
.Fn ieee80211_ref_node
109
- and
110
- .Fn ieee80211_unref_node
111
- calls explicitly increment/decrement the reference count of a node,
112
- but are rarely used.
113
- Instead most callers use
106
+ call explicitly increments the reference count of a node.
114
107
.Fn ieee80211_free_node
115
- to release a reference and, if the count goes to zero, reclaim the
116
- table entry.
108
+ decrements the reference count of a node and if the count goes to zero
109
+ reclaims the table entry.
117
110
.Pp
118
111
The station table and its entries are exposed to drivers in several ways.
119
112
Each frame transmitted to a station includes a reference to the
Original file line number Diff line number Diff line change @@ -326,13 +326,6 @@ ieee80211_ref_node(struct ieee80211_node *ni)
326
326
return ni ;
327
327
}
328
328
329
- static __inline void
330
- ieee80211_unref_node (struct ieee80211_node * * ni )
331
- {
332
- ieee80211_node_decref (* ni );
333
- * ni = NULL ; /* guard against use */
334
- }
335
-
336
329
void ieee80211_node_attach (struct ieee80211com * );
337
330
void ieee80211_node_lateattach (struct ieee80211com * );
338
331
void ieee80211_node_detach (struct ieee80211com * );
Original file line number Diff line number Diff line change @@ -1104,7 +1104,7 @@ ieee80211_send_nulldata(struct ieee80211_node *ni)
1104
1104
if (vap -> iv_state == IEEE80211_S_CAC ) {
1105
1105
IEEE80211_NOTE (vap , IEEE80211_MSG_OUTPUT | IEEE80211_MSG_DOTH ,
1106
1106
ni , "block %s frame in CAC state" , "null data" );
1107
- ieee80211_unref_node ( & ni );
1107
+ ieee80211_node_decref ( ni );
1108
1108
vap -> iv_stats .is_tx_badstate ++ ;
1109
1109
return EIO ; /* XXX */
1110
1110
}
@@ -1122,7 +1122,7 @@ ieee80211_send_nulldata(struct ieee80211_node *ni)
1122
1122
m = ieee80211_getmgtframe (& frm , ic -> ic_headroom + hdrlen , 0 );
1123
1123
if (m == NULL ) {
1124
1124
/* XXX debug msg */
1125
- ieee80211_unref_node ( & ni );
1125
+ ieee80211_node_decref ( ni );
1126
1126
vap -> iv_stats .is_tx_nobuf ++ ;
1127
1127
return ENOMEM ;
1128
1128
}
You can’t perform that action at this time.
0 commit comments